source: trunk/uribl/Makefile@ 27

Last change on this file since 27 was 27, checked in by Kris Deugau, 14 years ago

/trunk/uribl

Add URI blacklist database interface code

File size: 999 bytes
Line 
1# wrap'em up all neatlike
2# $Id$
3
4MANIFEST = \
5 delist-uri export-uridb import-cur.pl uridb.cgi URIdb.pm uridb.sql templates/
6
7PKGNAME=uridb
8VERSION=0.1
9
10# bloody stupid Debian config puts OS-provided packaged sitelib under
11# /usr/local - by FHS defs, this is supposed to be reserved for, y'know,
12# **LOCAL** crap.
13# So we use the vendor lib directory instead. Feh.
14
15PERLLIBDIR = `eval "`perl -V:installvendorlib`"; echo $installvendorlib`
16
17##fixme
18#install:
19# install -D DNSBL.pm $(DESTDIR)$(PERLLIBDIR)/<somewhere>/DNS/DNSBL.pm
20# install -D -m 0755 export-dnsbl $(DESTDIR)${bindir}/export-dnsbl
21
22dist:
23 mkdir $(PKGNAME)-$(VERSION)
24 tar -c --exclude .svn -f - $(MANIFEST) | (cd $(PKGNAME)-$(VERSION); tar xvf -)
25# /usr/bin/perl -p -e 's/#VERSION#/$(VERSION)/' < $(PKGNAME).spec > $(PKGNAME)-$(VERSION)/$(PKGNAME).spec
26 tar cvf $(PKGNAME)-$(VERSION).tar $(PKGNAME)-$(VERSION)
27 gzip -v -f -9 $(PKGNAME)-$(VERSION).tar
28 rm -rf $(PKGNAME)-$(VERSION)
29 # gpg --detach-sign $(PKGNAME)-$(VERSION).tar.gz
30
Note: See TracBrowser for help on using the repository browser.