annotate Makefile.am @ 21:2342081106d9

add better logging
author carl
date Sun, 08 Jan 2006 12:51:35 -0800
parents fd00aa28682c
children 3eb867c9beb2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
a9b52f657f08 finish coding 1.0 version
carl
parents: 10
diff changeset
1 SUBDIRS = src man html info
10
5dfe0138b4f9 initial coding
carl
parents: 9
diff changeset
2 hackdir = $(sysconfdir)
5dfe0138b4f9 initial coding
carl
parents: 9
diff changeset
3 hack_SCRIPTS = syslog2iptables
5dfe0138b4f9 initial coding
carl
parents: 9
diff changeset
4 sysconf_DATA = syslog2iptables.conf
11
a9b52f657f08 finish coding 1.0 version
carl
parents: 10
diff changeset
5 CLEANFILES = syslog2iptables xml/syslog2iptables xml/Makefile
12
c2a2e35a85ac final documentation, rpm builds properly
carl
parents: 11
diff changeset
6 EXTRA_DIST = syslog2iptables.rc syslog2iptables.conf syslog2iptables.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/s*)
1
551433a01cab initial coding
carl
parents:
diff changeset
7
9
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
8 syslog2iptables: $(srcdir)/syslog2iptables.rc
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
9 rm -f syslog2iptables
10
5dfe0138b4f9 initial coding
carl
parents: 9
diff changeset
10 echo "#!" $(BASH) >syslog2iptables
5dfe0138b4f9 initial coding
carl
parents: 9
diff changeset
11 cat $(srcdir)/syslog2iptables.rc | \
5dfe0138b4f9 initial coding
carl
parents: 9
diff changeset
12 sed -e "s,SBINDIR,$(sbindir),g" | \
5dfe0138b4f9 initial coding
carl
parents: 9
diff changeset
13 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables
5
276c4edc8521 initial coding
carl
parents: 1
diff changeset
14
10
5dfe0138b4f9 initial coding
carl
parents: 9
diff changeset
15 chkconfig: syslog2iptables
5dfe0138b4f9 initial coding
carl
parents: 9
diff changeset
16 mv -f $(sysconfdir)/syslog2iptables /etc/rc.d/init.d
9
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
17 /sbin/chkconfig --del syslog2iptables
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
18 /sbin/chkconfig --add syslog2iptables
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
19