Mercurial > syslog2iptables
annotate Makefile.am @ 51:206448c00b55 stable-1-0-12
Allow multiple contexts with independent add/remove commands.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sat, 24 Jan 2009 15:52:20 -0800 |
parents | 75361069c6ef |
children | d80641be405b |
rev | line source |
---|---|
44
9e9f09cf411c
Add fixes for Solaris from sm-archive.
Carl Byington <carl@five-ten-sg.com>
parents:
42
diff
changeset
|
1 ACLOCAL_AMFLAGS = -I m4 |
9e9f09cf411c
Add fixes for Solaris from sm-archive.
Carl Byington <carl@five-ten-sg.com>
parents:
42
diff
changeset
|
2 |
11 | 3 SUBDIRS = src man html info |
10 | 4 hackdir = $(sysconfdir) |
5 hack_SCRIPTS = syslog2iptables | |
6 sysconf_DATA = syslog2iptables.conf | |
42
d9ae11033b4b
Add default config to firewall systems that send bounces to non-existant accounts.
Carl Byington <carl@five-ten-sg.com>
parents:
32
diff
changeset
|
7 htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@ |
d9ae11033b4b
Add default config to firewall systems that send bounces to non-existant accounts.
Carl Byington <carl@five-ten-sg.com>
parents:
32
diff
changeset
|
8 html_DATA = AUTHORS COPYING ChangeLog NEWS README |
11 | 9 CLEANFILES = syslog2iptables xml/syslog2iptables xml/Makefile |
50 | 10 EXTRA_DIST = syslog2iptables.conf syslog2iptables.spec xml/header.sgml xml/header.xml xml/Makefile.am xml/Makefile.in xml/syslog2iptables.in |
1 | 11 |
32 | 12 syslog2iptables: syslog2iptables.rc |
13 cat syslog2iptables.rc | \ | |
10 | 14 sed -e "s,SBINDIR,$(sbindir),g" | \ |
15 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables | |
5 | 16 |
10 | 17 chkconfig: syslog2iptables |
18 mv -f $(sysconfdir)/syslog2iptables /etc/rc.d/init.d | |
9 | 19 /sbin/chkconfig --del syslog2iptables |
20 /sbin/chkconfig --add syslog2iptables | |
21 |