annotate Makefile.am @ 72:ea7b7a0d0039

RHEL7 systemd and /var/run on tmpfs
author Carl Byington <carl@five-ten-sg.com>
date Thu, 09 Feb 2017 12:58:21 -0800
parents 79f310d1bc46
children 4685767c0c85
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
a9b52f657f08 finish coding 1.0 version
carl
parents: 10
diff changeset
3 SUBDIRS = src man html info
10
5dfe0138b4f9 initial coding
carl
parents: 9
diff changeset
4 hackdir = $(sysconfdir)
71
79f310d1bc46 RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents: 61
diff changeset
5 hack_SCRIPTS = syslog2iptables syslog2iptables.service
72
ea7b7a0d0039 RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents: 71
diff changeset
6 hack_DATA = syslog2iptables.conf.make syslog2iptables.conf.top syslog2iptables.conf.bottom syslog2iptables.conf.httpd
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
71
79f310d1bc46 RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents: 61
diff changeset
9 CLEANFILES = syslog2iptables syslog2iptables.service xml/syslog2iptables xml/Makefile
79f310d1bc46 RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents: 61
diff changeset
10 EXTRA_DIST = syslog2iptables.rc syslog2iptables.service.rc $(hack_DATA) syslog2iptables.spec xml/header.sgml xml/header.xml xml/Makefile.am xml/Makefile.in xml/syslog2iptables.in
1
551433a01cab initial coding
carl
parents:
diff changeset
11
32
carl
parents: 17
diff changeset
12 syslog2iptables: syslog2iptables.rc
72
ea7b7a0d0039 RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents: 71
diff changeset
13 cat syslog2iptables.rc | \
ea7b7a0d0039 RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents: 71
diff changeset
14 sed -e "s,SBINDIR,$(sbindir),g" | \
ea7b7a0d0039 RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents: 71
diff changeset
15 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables
5
276c4edc8521 initial coding
carl
parents: 1
diff changeset
16
71
79f310d1bc46 RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents: 61
diff changeset
17 syslog2iptables.service: syslog2iptables.service.rc
72
ea7b7a0d0039 RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents: 71
diff changeset
18 cat syslog2iptables.rc | \
ea7b7a0d0039 RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents: 71
diff changeset
19 sed -e "s,SBINDIR,$(sbindir),g" | \
ea7b7a0d0039 RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents: 71
diff changeset
20 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables.service
71
79f310d1bc46 RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents: 61
diff changeset
21
10
5dfe0138b4f9 initial coding
carl
parents: 9
diff changeset
22 chkconfig: syslog2iptables
5dfe0138b4f9 initial coding
carl
parents: 9
diff changeset
23 mv -f $(sysconfdir)/syslog2iptables /etc/rc.d/init.d
9
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
24 /sbin/chkconfig --del syslog2iptables
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
25 /sbin/chkconfig --add syslog2iptables
d76f9ff42487 initial coding
carl
parents: 5
diff changeset
26