0
|
1 ACLOCAL_AMFLAGS = -I m4
|
|
2
|
|
3 SUBDIRS = src man html info
|
|
4 hackdir = $(sysconfdir)
|
|
5 hack_SCRIPTS = wflogs-daemon
|
|
6 sysconf_DATA = wflogs-daemon.conf
|
|
7 htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@
|
|
8 html_DATA = AUTHORS COPYING ChangeLog NEWS README
|
|
9 CLEANFILES = wflogs-daemon xml/wflogs-daemon xml/Makefile
|
|
10 EXTRA_DIST = wflogs-daemon.conf wflogs-daemon.spec xml/header.sgml xml/header.xml xml/Makefile.am xml/Makefile.in xml/wflogs-daemon.in
|
|
11
|
|
12 wflogs-daemon: wflogs-daemon.rc
|
|
13 cat wflogs-daemon.rc | \
|
|
14 sed -e "s,SBINDIR,$(sbindir),g" | \
|
|
15 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>wflogs-daemon
|
|
16
|
|
17 chkconfig: wflogs-daemon
|
|
18 mv -f $(sysconfdir)/wflogs-daemon /etc/rc.d/init.d
|
|
19 /sbin/chkconfig --del wflogs-daemon
|
|
20 /sbin/chkconfig --add wflogs-daemon
|
|
21
|