diff options
author | Lennart Poettering <lennart@poettering.net> | 2003-12-04 21:54:57 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2003-12-04 21:54:57 +0000 |
commit | f19907aec71491fa517cf01f36600277e7a1ad3c (patch) | |
tree | 03dc59afc36c9a29f1924b45b570b1e8fe901315 | |
parent | 6ebf83f6d60842f0c620789bc2da958bf5d3bced (diff) |
init script fixes
git-svn-id: file:///home/lennart/svn/public/seppl/trunk@18 91a2fd9b-5dcb-0310-a70a-d71e310228e6
-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 |