From: Philipp Kern Date: Sat, 2 Apr 2016 13:52:33 +0000 (+0200) Subject: Install the systemd service without obeying PREFIX. X-Git-Tag: 1.3.0~12 X-Git-Url: https://git.sesse.net/?p=cubemap;a=commitdiff_plain;h=4e627e844e4e484333b72006ad268fe83afa00df;hp=6af57a469ddd98f6dcef05071cc231ecabc748e0 Install the systemd service without obeying PREFIX. --- diff --git a/Makefile.in b/Makefile.in index 62cb4a4..f5da6c6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -38,14 +38,14 @@ install: $(DESTDIR)$(LOCALSTATEDIR)/lib/cubemap \ $(DESTDIR)$(LOCALSTATEDIR)/log/cubemap \ $(DESTDIR)$(PREFIX)/share/munin/plugins \ - $(DESTDIR)$(PREFIX)/lib/systemd/system + $(DESTDIR)/lib/systemd/system $(INSTALL) -m 755 -o root -g root cubemap $(DESTDIR)$(PREFIX)/bin/cubemap $(INSTALL) -m 755 -o root -g root munin/cubemap munin/cubemap_input $(DESTDIR)$(PREFIX)/share/munin/plugins/ gzip -c cubemap.1 > $(DESTDIR)$(PREFIX)/share/man/man1/cubemap.1.gz sed \ -e "s,@prefix[@],$(PREFIX),g" \ -e "s,@sysconfdir[@],$(SYSCONFDIR),g" \ - cubemap.service.in > $(DESTDIR)$(PREFIX)/lib/systemd/system/cubemap.service + cubemap.service.in > $(DESTDIR)/lib/systemd/system/cubemap.service # Make sure we don't overwrite an existing configuration. test ! -f $(DESTDIR)$(SYSCONFDIR)/cubemap.config sed \