Mercurial > sm-archive
diff Makefile.am @ 2:32b57406b656
initial version
author | carl |
---|---|
date | Fri, 10 Mar 2006 10:47:12 -0800 |
parents | 45c8592d5d13 |
children | f9e8bbf33a2a |
line wrap: on
line diff
--- a/Makefile.am Fri Mar 10 10:35:25 2006 -0800 +++ b/Makefile.am Fri Mar 10 10:47:12 2006 -0800 @@ -1,20 +1,20 @@ 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*) +hackdir = $(sysconfdir)/sm-archive +hack_SCRIPTS = sm-archive +hack_DATA = sm-archive.conf +CLEANFILES = sm-archive xml/sm-archive xml/Makefile +EXTRA_DIST = sm-archive.rc $(hack_DATA) sm-archive.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/sm*) -dnsbl: $(srcdir)/dnsbl.rc - rm -f dnsbl - echo "#!" $(BASH) >dnsbl - cat $(srcdir)/dnsbl.rc | \ +sm-archive: $(srcdir)/sm-archive.rc + rm -f sm-archive + echo "#!" $(BASH) >sm-archive + cat $(srcdir)/sm-archive.rc | \ sed -e "s,SBINDIR,$(sbindir),g" | \ - sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>dnsbl + sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>sm-archive -chkconfig: dnsbl - /usr/bin/getent passwd dnsbl || /usr/sbin/useradd -r -d /etc/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl - mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d - /sbin/chkconfig --del dnsbl - /sbin/chkconfig --add dnsbl +chkconfig: sm-archive + /usr/bin/getent passwd sm-archive || /usr/sbin/useradd -r -d /etc/sm-archive -M -c "sm-archive pseudo-user" -s /sbin/nologin sm-archive + mv -f $(sysconfdir)/sm-archive /etc/rc.d/init.d + /sbin/chkconfig --del sm-archive + /sbin/chkconfig --add sm-archive