scripts: Remove $(DESTDIR) prefix; this is managed by automake.

This commit is contained in:
tgoff0 2015-05-26 20:40:07 +00:00
parent 29698d31d3
commit afefd47ed0

View file

@ -26,7 +26,7 @@ dist-hook:
# install startup scripts based on --with-startup=option configure option # install startup scripts based on --with-startup=option configure option
# FreeBSD, init.d (default), systemd, SUSE # FreeBSD, init.d (default), systemd, SUSE
if WANT_BSD if WANT_BSD
startupdir = $(DESTDIR)/usr/local/etc/rc.d startupdir = /usr/local/etc/rc.d
startup_SCRIPTS = core-daemon startup_SCRIPTS = core-daemon
core-daemon: core-daemon-rc.d core-daemon: core-daemon-rc.d
@ -34,18 +34,18 @@ core-daemon: core-daemon-rc.d
else else
if WANT_INITD if WANT_INITD
startupdir = $(DESTDIR)/etc/init.d startupdir = /etc/init.d
startup_SCRIPTS = core-daemon startup_SCRIPTS = core-daemon
core-daemon: core-daemon-init.d core-daemon: core-daemon-init.d
cp $< $@ cp $< $@
endif endif
if WANT_SYSTEMD if WANT_SYSTEMD
startupdir = $(DESTDIR)/etc/systemd/system startupdir = /etc/systemd/system
startup_SCRIPTS = core-daemon.service startup_SCRIPTS = core-daemon.service
endif endif
if WANT_SUSE if WANT_SUSE
startupdir = $(DESTDIR)/etc/init.d startupdir = /etc/init.d
startup_SCRIPTS = core-daemon startup_SCRIPTS = core-daemon
core-daemon: core-daemon-init.d-SUSE core-daemon: core-daemon-init.d-SUSE