diff options
author | Lennart Poettering <lennart@poettering.net> | 2003-08-11 16:19:06 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2003-08-11 16:19:06 +0000 |
commit | 385d3e53254fcd390c3596f2ccdcc65cd9310757 (patch) | |
tree | f37fb3df709e0406d88fef1f8f0dab8f6e54ef17 /conf/Makefile.am | |
parent | dac9fede8c1064797eee70cca6946d05b7a929f9 (diff) |
build fixes
remove fprintfs
git-svn-id: file:///home/lennart/svn/public/aeswepd/trunk@5 022f378f-78c4-0310-b860-d162c87e6274
Diffstat (limited to 'conf/Makefile.am')
-rw-r--r-- | conf/Makefile.am | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/conf/Makefile.am b/conf/Makefile.am index e5b252f..2e6973c 100644 --- a/conf/Makefile.am +++ b/conf/Makefile.am @@ -16,27 +16,31 @@ # along with waproamd; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. -SUBDIRS = scripts - if BUILD_WAPROAMD -noinst_DATA = waproamd.init waproamd.conf +noinst_DATA = waproamd.init waproamd.conf default -EXTRA_DIST = waproamd.init.in waproamd.conf +EXTRA_DIST = waproamd.init.in waproamd.conf default.in -CLEANFILES = waproamd.init +CLEANFILES = waproamd.init default waproamd.init: waproamd.init.in Makefile sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' $< > $@ chmod 755 $@ +default: default.in Makefile + sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' $< > $@ + chmod 755 $@ + install-data-local: waproamd.init - $(INSTALL) -D -m755 waproamd.init ${DESTDIR}/${sysconfdir}/init.d/waproamd - $(INSTALL) -D -m644 $(srcdir)/waproamd.conf ${DESTDIR}/${sysconfdir}/waproamd/waproamd.conf + $(INSTALL) -b -D -m755 waproamd.init ${DESTDIR}/${sysconfdir}/init.d/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}/${sysconfdir}/waproamd/scripts/default endif |