view Makefile.am @ 42:d9ae11033b4b stable-1-9

Add default config to firewall systems that send bounces to non-existant accounts. Switch to Mercurial source control. Update spec file for fedora packaging.
author Carl Byington <carl@five-ten-sg.com>
date Fri, 21 Mar 2008 14:02:32 -0700
parents 3eb867c9beb2
children 9e9f09cf411c
line wrap: on
line source

SUBDIRS = src man html info
hackdir = $(sysconfdir)
hack_SCRIPTS = syslog2iptables
sysconf_DATA = syslog2iptables.conf
htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@
html_DATA = AUTHORS COPYING ChangeLog NEWS README
CLEANFILES = syslog2iptables xml/syslog2iptables xml/Makefile
EXTRA_DIST = syslog2iptables.conf syslog2iptables.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/s*)

syslog2iptables: syslog2iptables.rc
	   cat syslog2iptables.rc     | \
	       sed -e "s,SBINDIR,$(sbindir),g"  | \
	       sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables

chkconfig: syslog2iptables
	   mv -f $(sysconfdir)/syslog2iptables /etc/rc.d/init.d
	   /sbin/chkconfig --del syslog2iptables
	   /sbin/chkconfig --add syslog2iptables