diff options
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/conf/Makefile.am b/conf/Makefile.am index e3ee3b2..428a7c3 100644 --- a/conf/Makefile.am +++ b/conf/Makefile.am @@ -16,6 +16,8 @@ # along with waproamd; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +sysvinitdir = @SYSV_INITDIR@ + EXTRA_DIST = waproamd.init.in waproamd.conf default.in noinst_DATA = waproamd.init waproamd.conf default CLEANFILES = waproamd.init default @@ -29,12 +31,12 @@ default: default.in Makefile chmod 755 $@ install-data-local: waproamd.init - $(INSTALL) -b -D -m755 waproamd.init ${DESTDIR}/${sysconfdir}/init.d/waproamd + $(INSTALL) -b -D -m755 waproamd.init ${DESTDIR}/${sysvinitdir}/waproamd $(INSTALL) -b -D -m644 $(srcdir)/waproamd.conf ${DESTDIR}/${sysconfdir}/waproamd/waproamd.conf mkdir -p ${DESTDIR}/${sysconfdir}/waproamd/keys $(INSTALL) -D -m755 default ${DESTDIR}/${sysconfdir}/waproamd/scripts/default uninstall-local: rmdir ${DESTDIR}/${sysconfdir}/waproamd/keys - rm -f ${DESTDIR}/${sysconfdir}/init.d/waproamd ${DESTDIR}/${sysconfdir}/waproamd/waproamd.conf + rm -f ${DESTDIR}/${sysvinitdir}/waproamd ${DESTDIR}/${sysconfdir}/waproamd/waproamd.conf rm -f ${DESTDIR}/${sysconfdir}/waproamd/scripts/default |
