annotate Makefile.am @ 6:a043b7d7269c

truncate output files after processing them
author Carl Byington <carl@five-ten-sg.com>
date Fri, 17 May 2013 12:22:33 -0700
parents 0aa1171aebd2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
1 ACLOCAL_AMFLAGS = -I m4
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
2
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
3 SUBDIRS = src man html info
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
4 hackdir = $(sysconfdir)
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5 hack_SCRIPTS = wflogs-daemon
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6 sysconf_DATA = wflogs-daemon.conf
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7 htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
8 html_DATA = AUTHORS COPYING ChangeLog NEWS README
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
9 CLEANFILES = wflogs-daemon xml/wflogs-daemon xml/Makefile
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
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
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
11
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
12 wflogs-daemon: wflogs-daemon.rc
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
13 cat wflogs-daemon.rc | \
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
14 sed -e "s,SBINDIR,$(sbindir),g" | \
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
15 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>wflogs-daemon
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
16
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
17 chkconfig: wflogs-daemon
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
18 mv -f $(sysconfdir)/wflogs-daemon /etc/rc.d/init.d
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
19 /sbin/chkconfig --del wflogs-daemon
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
20 /sbin/chkconfig --add wflogs-daemon
0aa1171aebd2 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
21