105
|
1 SUBDIRS = src man html info
|
112
|
2 hackdir = $(sysconfdir)/dnsbl
|
108
|
3 hack_SCRIPTS = dnsbl
|
112
|
4 hack_DATA = dnsbl.conf hosts-ignore.conf html-tags.conf tld.conf
|
108
|
5 CLEANFILES = dnsbl xml/dnsbl xml/Makefile
|
112
|
6 EXTRA_DIST = dnsbl.rc $(hack_DATA) dnsbl.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/d*)
|
105
|
7
|
108
|
8 dnsbl: $(srcdir)/dnsbl.rc
|
|
9 rm -f dnsbl
|
|
10 echo "#!" $(BASH) >dnsbl
|
|
11 cat $(srcdir)/dnsbl.rc | \
|
105
|
12 sed -e "s,SBINDIR,$(sbindir),g" | \
|
108
|
13 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>dnsbl
|
105
|
14
|
108
|
15 chkconfig: dnsbl
|
112
|
16 mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d
|
108
|
17 /sbin/chkconfig --del dnsbl
|
|
18 /sbin/chkconfig --add dnsbl
|
105
|
19
|