comparison Makefile.am @ 71:79f310d1bc46

RHEL7 systemd and /var/run on tmpfs
author Carl Byington <carl@five-ten-sg.com>
date Thu, 09 Feb 2017 12:44:31 -0800
parents d80641be405b
children ea7b7a0d0039
comparison
equal deleted inserted replaced
70:e841d8422b74 71:79f310d1bc46
1 ACLOCAL_AMFLAGS = -I m4 1 ACLOCAL_AMFLAGS = -I m4
2 2
3 SUBDIRS = src man html info 3 SUBDIRS = src man html info
4 hackdir = $(sysconfdir) 4 hackdir = $(sysconfdir)
5 hack_SCRIPTS = syslog2iptables 5 hack_SCRIPTS = syslog2iptables syslog2iptables.service
6 sysconf_DATA = syslog2iptables.conf.make syslog2iptables.conf.top syslog2iptables.conf.bottom syslog2iptables.conf.httpd 6 hack_DATA = syslog2iptables.conf.make syslog2iptables.conf.top syslog2iptables.conf.bottom
7 syslog2iptables.conf.httpd
7 htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@ 8 htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@
8 html_DATA = AUTHORS COPYING ChangeLog NEWS README 9 html_DATA = AUTHORS COPYING ChangeLog NEWS README
9 CLEANFILES = syslog2iptables xml/syslog2iptables xml/Makefile 10 CLEANFILES = syslog2iptables syslog2iptables.service xml/syslog2iptables xml/Makefile
10 EXTRA_DIST = syslog2iptables.conf.make syslog2iptables.conf.top syslog2iptables.conf.bottom syslog2iptables.conf.httpd syslog2iptables.spec xml/header.sgml xml/header.xml xml/Makefile.am xml/Makefile.in xml/syslog2iptables.in 11 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
11 12
12 syslog2iptables: syslog2iptables.rc 13 syslog2iptables: syslog2iptables.rc
13 cat syslog2iptables.rc | \ 14 cat syslog2iptables.rc | \
14 sed -e "s,SBINDIR,$(sbindir),g" | \ 15 sed -e "s,SBINDIR,$(sbindir),g" | \
15 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables 16 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables
16 17
18 syslog2iptables.service: syslog2iptables.service.rc
19 cat syslog2iptables.rc | \
20 sed -e "s,SBINDIR,$(sbindir),g" | \
21 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables.service
22
17 chkconfig: syslog2iptables 23 chkconfig: syslog2iptables
18 mv -f $(sysconfdir)/syslog2iptables /etc/rc.d/init.d 24 mv -f $(sysconfdir)/syslog2iptables /etc/rc.d/init.d
19 /sbin/chkconfig --del syslog2iptables 25 /sbin/chkconfig --del syslog2iptables
20 /sbin/chkconfig --add syslog2iptables 26 /sbin/chkconfig --add syslog2iptables
21 27