annotate Makefile.am @ 107:eeaaecda4acc

move to autoconf/automake/docbook
author carl
date Sun, 18 Dec 2005 09:50:25 -0800
parents c3e9fa6b37c6
children 1c7677042b78
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
105
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
1 SUBDIRS = src man html info
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
2 hackdir = $(sysconfdir)
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
3 hack_SCRIPTS = syslog2iptables
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
4 sysconf_DATA = syslog2iptables.conf
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
5 CLEANFILES = syslog2iptables xml/syslog2iptables xml/Makefile
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
6 EXTRA_DIST = syslog2iptables.rc syslog2iptables.conf syslog2iptables.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/s*)
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
7
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
8 syslog2iptables: $(srcdir)/syslog2iptables.rc
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
9 rm -f syslog2iptables
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
10 echo "#!" $(BASH) >syslog2iptables
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
11 cat $(srcdir)/syslog2iptables.rc | \
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
12 sed -e "s,SBINDIR,$(sbindir),g" | \
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
13 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
14
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
15 chkconfig: syslog2iptables
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
16 mv -f $(sysconfdir)/syslog2iptables /etc/rc.d/init.d
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
17 /sbin/chkconfig --del syslog2iptables
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
18 /sbin/chkconfig --add syslog2iptables
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
19 /sbin/chkconfig --level 2345 syslog2iptables on
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
20 /etc/rc.d/init.d/syslog2iptables start
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
21