diff options
Diffstat (limited to 'conf/Makefile.am')
-rw-r--r-- | conf/Makefile.am | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/conf/Makefile.am b/conf/Makefile.am index 630f82d..1e554d7 100644 --- a/conf/Makefile.am +++ b/conf/Makefile.am @@ -16,6 +16,8 @@ # along with seppl; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +sysinitdir = @SYSINITDIR@ + noinst_DATA = seppl.init EXTRA_DIST = seppl.init.in CLEANFILES = seppl.init @@ -25,9 +27,9 @@ seppl.init: seppl.init.in Makefile chmod 755 $@ install-data-local: seppl.init - $(INSTALL) -b -D -m755 seppl.init ${DESTDIR}/${sysconfdir}/init.d/seppl - mkdir -p ${DESTDIR}/$(sysconfdir)/seppl - chmod 700 ${DESTDIR}/$(sysconfdir)/seppl + $(INSTALL) -b -D -m755 seppl.init ${DESTDIR}${sysinitdir}/seppl + mkdir -p ${DESTDIR}$(sysconfdir)/seppl + chmod 700 ${DESTDIR}$(sysconfdir)/seppl uninstall-local: - rm -f ${DESTDIR}/${sysconfdir}/init.d/seppl + rm -f ${DESTDIR}${sysconfdir}/init.d/seppl |