comparison 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
comparison
equal deleted inserted replaced
71:79f310d1bc46 72:ea7b7a0d0039
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 syslog2iptables.service 5 hack_SCRIPTS = syslog2iptables syslog2iptables.service
6 hack_DATA = syslog2iptables.conf.make syslog2iptables.conf.top syslog2iptables.conf.bottom 6 hack_DATA = syslog2iptables.conf.make syslog2iptables.conf.top syslog2iptables.conf.bottom syslog2iptables.conf.httpd
7 syslog2iptables.conf.httpd
8 htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@ 7 htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@
9 html_DATA = AUTHORS COPYING ChangeLog NEWS README 8 html_DATA = AUTHORS COPYING ChangeLog NEWS README
10 CLEANFILES = syslog2iptables syslog2iptables.service xml/syslog2iptables xml/Makefile 9 CLEANFILES = syslog2iptables syslog2iptables.service xml/syslog2iptables xml/Makefile
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 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
12 11
13 syslog2iptables: syslog2iptables.rc 12 syslog2iptables: syslog2iptables.rc
14 cat syslog2iptables.rc | \ 13 cat syslog2iptables.rc | \
15 sed -e "s,SBINDIR,$(sbindir),g" | \ 14 sed -e "s,SBINDIR,$(sbindir),g" | \
16 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables 15 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables
17 16
18 syslog2iptables.service: syslog2iptables.service.rc 17 syslog2iptables.service: syslog2iptables.service.rc
19 cat syslog2iptables.rc | \ 18 cat syslog2iptables.rc | \
20 sed -e "s,SBINDIR,$(sbindir),g" | \ 19 sed -e "s,SBINDIR,$(sbindir),g" | \
21 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables.service 20 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables.service
22 21
23 chkconfig: syslog2iptables 22 chkconfig: syslog2iptables
24 mv -f $(sysconfdir)/syslog2iptables /etc/rc.d/init.d 23 mv -f $(sysconfdir)/syslog2iptables /etc/rc.d/init.d
25 /sbin/chkconfig --del syslog2iptables 24 /sbin/chkconfig --del syslog2iptables
26 /sbin/chkconfig --add syslog2iptables 25 /sbin/chkconfig --add syslog2iptables