view Makefile.am @ 115:07e5d4721213

use larger resolver buffer
author carl
date Sun, 08 Jan 2006 09:07:00 -0800
parents 96b2eb7f25f5
children 0094678a16d0
line wrap: on
line source

SUBDIRS = src man html info
hackdir = $(sysconfdir)/dnsbl
hack_SCRIPTS = dnsbl
hack_DATA = dnsbl.conf hosts-ignore.conf html-tags.conf tld.conf
CLEANFILES = dnsbl xml/dnsbl xml/Makefile
EXTRA_DIST = dnsbl.rc $(hack_DATA) dnsbl.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/d*)

dnsbl: $(srcdir)/dnsbl.rc
	   rm -f dnsbl
	   echo "#!" $(BASH) >dnsbl
	   cat $(srcdir)/dnsbl.rc     | \
	       sed -e "s,SBINDIR,$(sbindir),g"  | \
	       sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>dnsbl

chkconfig: dnsbl
	   mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d
	   /sbin/chkconfig --del dnsbl
	   /sbin/chkconfig --add dnsbl