annotate Makefile.am @ 9:d76f9ff42487

initial coding
author carl
date Sat, 03 Dec 2005 13:54:47 -0800
parents 276c4edc8521
children 5dfe0138b4f9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
1 SUBDIRS = src
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
2 etcdir = /etc
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
3 rcdir = /etc/rc.d/init.d
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
4 etc_DATA = syslog2iptables.conf
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
5 rc_SCRIPTS = syslog2iptables
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
6 CLEANFILES = $(rc_SCRIPTS)
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
7 EXTRA_DIST = syslog2iptables.rc syslog2iptables.conf
1
551433a01cab initial coding
carl
parents:
diff changeset
8
9
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
9 syslog2iptables: $(srcdir)/syslog2iptables.rc
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
10 rm -f syslog2iptables
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
11 echo "#! " $(BASH) >syslog2iptables
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
12 cat $(srcdir)/syslog2iptables.rc >>syslog2iptables
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
13 chmod 755 syslog2iptables
5
276c4edc8521 initial coding
carl
parents: 1
diff changeset
14
9
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
15 chkconfig:
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
16 /sbin/chkconfig --del syslog2iptables
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
17 /sbin/chkconfig --add syslog2iptables
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
18 /sbin/chkconfig --level 2345 syslog2iptables on
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
19 /etc/rc.d/init.d/syslog2iptables start
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
20