source: trunk/uribl/Makefile@ 47

Last change on this file since 47 was 42, checked in by Kris Deugau, 13 years ago

/trunk

Rename SA fragment in uribl/, and add one in dnsbl/

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