source: trunk/dnsbl/Makefile@ 41

Last change on this file since 41 was 40, checked in by Kris Deugau, 12 years ago

/trunk/dnsbl

Minor cleanups to prepare for semirelease
GPL-tag executables and Perl module from Makefile MANIFEST

  • Property svn:keywords set to Date Rev Author Id
File size: 694 bytes
Line 
1# wrap'em up all neatlike
2# $Id: Makefile 40 2012-03-04 20:02:13Z kdeugau $
3
4# reqs:
5# libnetaddr-ip-perl
6# libdbd-pg-perl
7# rbldnsd
8
9MANIFEST = \
10 browse.cgi check-iplist.pl delist-ip export-dnsbl index.shtml Makefile \
11 dnsbl.cgi DNSBL.pm dnsbl.sql templates/ addparents.sql setparents.pl \
12 COPYING
13
14PKGNAME=dnsbl
15VERSION=0.2.2
16
17all:
18
19dist:
20 mkdir $(PKGNAME)-$(VERSION)
21 tar -c --exclude .svn -f - $(MANIFEST) | (cd $(PKGNAME)-$(VERSION); tar xvf -)
22# /usr/bin/perl -p -e 's/#VERSION#/$(VERSION)/' < $(PKGNAME).spec > $(PKGNAME)-$(VERSION)/$(PKGNAME).spec
23 tar cvf $(PKGNAME)-$(VERSION).tar $(PKGNAME)-$(VERSION)
24 gzip -v -f -9 $(PKGNAME)-$(VERSION).tar
25 rm -rf $(PKGNAME)-$(VERSION)
26 # gpg --detach-sign $(PKGNAME)-$(VERSION).tar.gz
Note: See TracBrowser for help on using the repository browser.