comparison Makefile.am @ 9:d76f9ff42487

initial coding
author carl
date Sat, 03 Dec 2005 13:54:47 -0800
parents 276c4edc8521
children 5dfe0138b4f9
comparison
equal deleted inserted replaced
8:5f4549fc60b9 9:d76f9ff42487
1 # not a GNU package. You can remove this line, if 1 SUBDIRS = src
2 # have all needed files, that a GNU package needs 2 etcdir = /etc
3 AUTOMAKE_OPTIONS = foreign 1.4 3 rcdir = /etc/rc.d/init.d
4 etc_DATA = syslog2iptables.conf
5 rc_SCRIPTS = syslog2iptables
6 CLEANFILES = $(rc_SCRIPTS)
7 EXTRA_DIST = syslog2iptables.rc syslog2iptables.conf
4 8
5 SUBDIRS = src 9 syslog2iptables: $(srcdir)/syslog2iptables.rc
10 rm -f syslog2iptables
11 echo "#! " $(BASH) >syslog2iptables
12 cat $(srcdir)/syslog2iptables.rc >>syslog2iptables
13 chmod 755 syslog2iptables
6 14
15 chkconfig:
16 /sbin/chkconfig --del syslog2iptables
17 /sbin/chkconfig --add syslog2iptables
18 /sbin/chkconfig --level 2345 syslog2iptables on
19 /etc/rc.d/init.d/syslog2iptables start
20