annotate Makefile.am @ 110:75c10deb3fe9

move to autoconf/automake/docbook
author carl
date Sun, 18 Dec 2005 15:16:25 -0800
parents 1c7677042b78
children d0dad5610980
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
105
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
1 SUBDIRS = src man html info
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
2 hackdir = $(sysconfdir)
108
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
3 hack_SCRIPTS = dnsbl
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
4 dconfdir = $(sysconfdir)/dnsbl
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
5 dconf_DATA = dnsbl.conf hosts-ignore.conf html-tags.conf tld.conf
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
6 CLEANFILES = dnsbl xml/dnsbl xml/Makefile
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
7 EXTRA_DIST = dnsbl.rc $(dconf_DATA) dnsbl.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/s*)
105
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
8
108
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
9 dnsbl: $(srcdir)/dnsbl.rc
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
10 rm -f dnsbl
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
11 echo "#!" $(BASH) >dnsbl
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
12 cat $(srcdir)/dnsbl.rc | \
105
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
13 sed -e "s,SBINDIR,$(sbindir),g" | \
108
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
14 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>dnsbl
105
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
15
108
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
16 chkconfig: dnsbl
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
17 mv -f $(sysconfdir)/dnsbl /etc/rc.d/init.d
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
18 /sbin/chkconfig --del dnsbl
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
19 /sbin/chkconfig --add dnsbl
105
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
20