# wrap'em up all neatlike # $Id$ # reqs: # libnetaddr-ip-perl # libdbd-pg-perl # rbldnsd MANIFEST = \ browse.cgi check-iplist.pl delist-ip export-dnsbl index.shtml Makefile \ dnsbl.cgi DNSBL.pm DNSBLweb.pm dnsbl.sql templates/ addparents.sql setparents.pl \ COPYING sa-dnsbl-example.cf PKGNAME=dnsbl VERSION=0.4.0 all: dist: mkdir $(PKGNAME)-$(VERSION) tar -c --exclude .svn -f - $(MANIFEST) | (cd $(PKGNAME)-$(VERSION); tar xvf -) # /usr/bin/perl -p -e 's/#VERSION#/$(VERSION)/' < $(PKGNAME).spec > $(PKGNAME)-$(VERSION)/$(PKGNAME).spec tar cvf $(PKGNAME)-$(VERSION).tar $(PKGNAME)-$(VERSION) gzip -v -f -9 $(PKGNAME)-$(VERSION).tar rm -rf $(PKGNAME)-$(VERSION) gpg -a --detach-sign $(PKGNAME)-$(VERSION).tar.gz