Mercurial > dnsbl
annotate Makefile.am @ 209:0fc1899391b6 stable-6-0-17
use autoconf to package the standard gnu documentation
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 05 Mar 2008 18:18:52 -0800 |
parents | 7a722f482bfb |
children | 4db1457cd11a |
rev | line source |
---|---|
105 | 1 SUBDIRS = src man html info |
112 | 2 hackdir = $(sysconfdir)/dnsbl |
108 | 3 hack_SCRIPTS = dnsbl |
179 | 4 hack_DATA = dnsbl.conf hosts-ignore.conf html-tags.conf tld.conf cctld.conf dnsblnogrey |
209
0fc1899391b6
use autoconf to package the standard gnu documentation
Carl Byington <carl@five-ten-sg.com>
parents:
180
diff
changeset
|
5 htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@ |
0fc1899391b6
use autoconf to package the standard gnu documentation
Carl Byington <carl@five-ten-sg.com>
parents:
180
diff
changeset
|
6 html_DATA = AUTHORS COPYING ChangeLog NEWS README |
108 | 7 CLEANFILES = dnsbl xml/dnsbl xml/Makefile |
177 | 8 EXTRA_DIST = $(hack_DATA) dnsbl.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/d*) |
105 | 9 |
163 | 10 dnsbl: dnsbl.rc |
11 cat dnsbl.rc | \ | |
105 | 12 sed -e "s,SBINDIR,$(sbindir),g" | \ |
163 | 13 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >dnsbl |
105 | 14 |
108 | 15 chkconfig: dnsbl |
174 | 16 /usr/bin/getent passwd dnsbl >/dev/null || /usr/sbin/useradd -r -d $(sysconfdir)/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl >/dev/null |
112 | 17 mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d |
178 | 18 mkdir -p $(sysconfdir)/dnsbl/autowhite |
153 | 19 chown dnsbl:root $(sysconfdir)/dnsbl/autowhite |
178 | 20 mkdir -p $(sysconfdir)/dnsbl/.spamassassin |
164 | 21 chown dnsbl:root $(sysconfdir)/dnsbl/.spamassassin |
108 | 22 /sbin/chkconfig --del dnsbl |
23 /sbin/chkconfig --add dnsbl | |
180 | 24 mkdir -p /var/dcc/userdirs/local/dnsblnogrey && mv -f $(sysconfdir)/dnsbl/dnsblnogrey /var/dcc/userdirs/local/dnsblnogrey/whiteclnt |
105 | 25 |