view 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
line wrap: on
line source

ACLOCAL_AMFLAGS = -I m4

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 xml/header.sgml xml/header.xml xml/Makefile.am xml/Makefile.in xml/syslog2iptables.in

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