Mercurial > syslog2iptables
annotate Makefile.am @ 48:ba0259c9e411 stable-1-0-11
Fixes to compile on Fedora 9 and for const correctness
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 29 May 2008 11:38:42 -0700 |
parents | 9e9f09cf411c |
children | 75361069c6ef |
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 |
32 | 10 EXTRA_DIST = syslog2iptables.conf syslog2iptables.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/s*) |
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 |