# Copyright (C) 2023 Maxwell G # # SPDX-License-Identifier: GPL-1.0-or-later # vim: set ts=4: PREFIX := /usr RPMMACRODIR := $(PREFIX)/lib/rpm/macros.d RPMLUADIR := $(PREFIX)/lib/rpm/lua # Install the macros install: install -Dpm 0644 rpm/macros.d/macros.* -t $(DESTDIR)$(RPMMACRODIR)/ install -Dpm 0644 rpm/lua/fedora/srpm/*.lua -t $(DESTDIR)$(RPMLUADIR)/fedora/srpm/ # Rename macros so they can be packaged for EPEL without conflicting with EL's # forge macros epel-build: ./tools/epel_build.sh epel-install: $(MAKE) -C epel -f ../Makefile install epel: epel-build epel-install clean: rm -rf epel9/