Mercurial > syslog2iptables
diff Makefile.am @ 9:d76f9ff42487
initial coding
author | carl |
---|---|
date | Sat, 03 Dec 2005 13:54:47 -0800 |
parents | 276c4edc8521 |
children | 5dfe0138b4f9 |
line wrap: on
line diff
--- a/Makefile.am Fri Dec 02 20:55:32 2005 -0800 +++ b/Makefile.am Sat Dec 03 13:54:47 2005 -0800 @@ -1,6 +1,20 @@ -# not a GNU package. You can remove this line, if -# have all needed files, that a GNU package needs -AUTOMAKE_OPTIONS = foreign 1.4 +SUBDIRS = src +etcdir = /etc +rcdir = /etc/rc.d/init.d +etc_DATA = syslog2iptables.conf +rc_SCRIPTS = syslog2iptables +CLEANFILES = $(rc_SCRIPTS) +EXTRA_DIST = syslog2iptables.rc syslog2iptables.conf -SUBDIRS = src +syslog2iptables: $(srcdir)/syslog2iptables.rc + rm -f syslog2iptables + echo "#! " $(BASH) >syslog2iptables + cat $(srcdir)/syslog2iptables.rc >>syslog2iptables + chmod 755 syslog2iptables +chkconfig: + /sbin/chkconfig --del syslog2iptables + /sbin/chkconfig --add syslog2iptables + /sbin/chkconfig --level 2345 syslog2iptables on + /etc/rc.d/init.d/syslog2iptables start +