aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7259b0d..9383b9e 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ SCRIPT_FILES = add-user del-user create-file \
add-group del-group add-shell del-shell verify-shell \
add-syslog del-syslog add-webapp del-webapp \
get-password create-ssl-certificate
-MACROS_FILES = rpm-helper.macros
+MACROS_FILES = macros.rpm-helper
CONF_FILES = ssl
TEST_FILES = t/*.t
SYSTEMDMIGRATION_FILES = README.systemd
@@ -15,7 +15,7 @@ FILES = AUTHORS README COPYING NEWS Makefile \
$(TEST_FILES) $(SYSTEMDMIGRATION_FILES)
pkgdatadir = /usr/share/$(PACKAGE)
-rpmmacrosdir = /etc/rpm/macros.d
+rpmmacrodir = /usr/lib/rpm/macros.d
sysconfigdir = /etc/sysconfig
systemdmigrationdir = /var/lib/rpm-helper/systemd-migration
@@ -25,14 +25,14 @@ all:
install: $(MACROS_FILES)
install -d -m 755 $(DESTDIR)$(pkgdatadir)
cp -p $(SCRIPT_FILES) $(DESTDIR)$(pkgdatadir)
- install -d -m 755 $(DESTDIR)$(rpmmacrosdir)
- install -m 644 $(MACROS_FILES) $(DESTDIR)/$(rpmmacrosdir)
+ install -d -m 755 $(DESTDIR)$(rpmmacrodir)
+ install -m 644 $(MACROS_FILES) $(DESTDIR)/$(rpmmacrodir)
install -d -m 755 $(DESTDIR)$(sysconfigdir)
install -m 644 $(CONF_FILES) $(DESTDIR)/$(sysconfigdir)
install -d -m 755 $(DESTDIR)$(systemdmigrationdir)
install -m 644 $(SYSTEMDMIGRATION_FILES) $(DESTDIR)/$(systemdmigrationdir)
-rpm-helper.macros: rpm-helper.macros.in
+macros.rpm-helper: macros.rpm-helper.in
sed -e 's:@pkgdatadir@:$(pkgdatadir):' < $< > $@
clean: