Mercurial > sm-archive
comparison Makefile.am @ 1:45c8592d5d13
initial version
author | carl |
---|---|
date | Fri, 10 Mar 2006 10:35:25 -0800 |
parents | |
children | 32b57406b656 |
comparison
equal
deleted
inserted
replaced
0:616666e2f34c | 1:45c8592d5d13 |
---|---|
1 SUBDIRS = src man html info | |
2 hackdir = $(sysconfdir)/dnsbl | |
3 hack_SCRIPTS = dnsbl | |
4 hack_DATA = dnsbl.conf hosts-ignore.conf html-tags.conf tld.conf | |
5 CLEANFILES = dnsbl xml/dnsbl xml/Makefile | |
6 EXTRA_DIST = dnsbl.rc $(hack_DATA) dnsbl.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/d*) | |
7 | |
8 dnsbl: $(srcdir)/dnsbl.rc | |
9 rm -f dnsbl | |
10 echo "#!" $(BASH) >dnsbl | |
11 cat $(srcdir)/dnsbl.rc | \ | |
12 sed -e "s,SBINDIR,$(sbindir),g" | \ | |
13 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>dnsbl | |
14 | |
15 chkconfig: dnsbl | |
16 /usr/bin/getent passwd dnsbl || /usr/sbin/useradd -r -d /etc/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl | |
17 mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d | |
18 /sbin/chkconfig --del dnsbl | |
19 /sbin/chkconfig --add dnsbl | |
20 |