aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d1cce64..5838e45 100644
--- a/Makefile
+++ b/Makefile
@@ -12,12 +12,14 @@ MACROS_FILES = rpm-helper.macros
CONF_FILES = ssl
TEST_FILES = t/*.t
FILES = AUTHORS README COPYING NEWS Makefile \
- $(SCRIPT_FILES) $(MACROS_FILES:=.in) $(CONF_FILES) \
+ $(SCRIPT_FILES) $(MACROS_FILES:=.in) $(CONF_FILES) \
$(TEST_FILES)
+SYSTEMDMIGRATION_FILES = README.systemd
pkgdatadir = /usr/share/$(PACKAGE)
rpmmacrosdir = /etc/rpm/macros.d
sysconfigdir = /etc/sysconfig
+systemdmigrationdir = /var/lib/rpm-helper/systemd-migration
all:
@echo "use make install or make dist"
@@ -29,6 +31,8 @@ install: $(MACROS_FILES)
install -m 644 $(MACROS_FILES) $(DESTDIR)/$(rpmmacrosdir)
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
sed -e 's:@pkgdatadir@:$(pkgdatadir):' < $< > $@