11
|
1 SUBDIRS = src man html info
|
10
|
2 hackdir = $(sysconfdir)
|
|
3 hack_SCRIPTS = syslog2iptables
|
|
4 sysconf_DATA = syslog2iptables.conf
|
11
|
5 CLEANFILES = syslog2iptables xml/syslog2iptables xml/Makefile
|
32
|
6 EXTRA_DIST = syslog2iptables.conf syslog2iptables.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/s*)
|
1
|
7
|
32
|
8 syslog2iptables: syslog2iptables.rc
|
|
9 cat syslog2iptables.rc | \
|
10
|
10 sed -e "s,SBINDIR,$(sbindir),g" | \
|
|
11 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables
|
5
|
12
|
10
|
13 chkconfig: syslog2iptables
|
|
14 mv -f $(sysconfdir)/syslog2iptables /etc/rc.d/init.d
|
9
|
15 /sbin/chkconfig --del syslog2iptables
|
|
16 /sbin/chkconfig --add syslog2iptables
|
|
17
|