diff options
author | Colin Guthrie <colin@mageia.org> | 2012-02-16 14:14:41 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2012-02-16 14:14:41 +0000 |
commit | 7a025f125cbe7c0b0acebca8be8a99e8758a6ef9 (patch) | |
tree | 5b2d4484ef8a102a81daba5d63d7aedcc9a7bdfd /Makefile | |
parent | fce915361aecd3be1fe7b9d21c7ad5115637a544 (diff) | |
download | rpm-helper-7a025f125cbe7c0b0acebca8be8a99e8758a6ef9.tar rpm-helper-7a025f125cbe7c0b0acebca8be8a99e8758a6ef9.tar.gz rpm-helper-7a025f125cbe7c0b0acebca8be8a99e8758a6ef9.tar.bz2 rpm-helper-7a025f125cbe7c0b0acebca8be8a99e8758a6ef9.tar.xz rpm-helper-7a025f125cbe7c0b0acebca8be8a99e8758a6ef9.zip |
Migrate service enabled/disabled status from sysvinit to systemd on upgrade
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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):' < $< > $@ |