diff options
author | Rob Funk <rfunk@funknet.net> | 2004-06-18 04:17:07 +0000 |
---|---|---|
committer | Rob Funk <rfunk@funknet.net> | 2004-06-18 04:17:07 +0000 |
commit | 4f40dc60c125ad1e14071c234b67315fab6c6fc3 (patch) | |
tree | c98e66addc90bb61fb448e9dbc458cc3ec7915e4 /dist-tools/shipper/Makefile | |
parent | e2fbba91f98b2270da86d6cde1d680ff57aca077 (diff) | |
download | fetchmail-4f40dc60c125ad1e14071c234b67315fab6c6fc3.tar.gz fetchmail-4f40dc60c125ad1e14071c234b67315fab6c6fc3.tar.bz2 fetchmail-4f40dc60c125ad1e14071c234b67315fab6c6fc3.zip |
Move shipper to dist-tools directory
svn path=/trunk/; revision=3889
Diffstat (limited to 'dist-tools/shipper/Makefile')
-rw-r--r-- | dist-tools/shipper/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dist-tools/shipper/Makefile b/dist-tools/shipper/Makefile new file mode 100644 index 00000000..1e6f6896 --- /dev/null +++ b/dist-tools/shipper/Makefile @@ -0,0 +1,38 @@ +# Makefile for the shipper project + +VERS=$(shell sed <shipper.spec -n -e '/Version: \(.*\)/s//\1/p') + +MANDIR=$(DESTDIR)/usr/share/man/man1 +BINDIR=$(DESTDIR)/usr/bin + +DOCS = README COPYING shipper.xml rpm2lsm.xml shipper.1 rpm2lsm.1 +SOURCES = shipper buildrpms rpm2lsm Makefile $(DOCS) shipper.spec + +all: shipper-$(VERS).tar.gz + +install: shipper.1 rpm2lsm.1 + cp shipper buildrpms rpm2lsm $(BINDIR) + gzip <shipper.1 >$(MANDIR)/shipper.1.gz + gzip <rpm2lsm.1 >$(MANDIR)/rpm2lsm.1.gz + +shipper.1: shipper.xml + xmlto man shipper.xml +shipper.html: shipper.xml + xmlto html-nochunks shipper.xml + +rpm2lsm.1: rpm2lsm.xml + xmlto man rpm2lsm.xml +rpm2lsm.html: rpm2lsm.xml + xmlto html-nochunks rpm2lsm.xml + +shipper-$(VERS).tar.gz: $(SOURCES) + @mkdir shipper-$(VERS) + @cp $(SOURCES) shipper-$(VERS) + @tar -czf shipper-$(VERS).tar.gz shipper-$(VERS) + @rm -fr shipper-$(VERS) + +dist: shipper-$(VERS).tar.gz + +release: shipper-$(VERS).tar.gz shipper.html rpm2lsm.html + shipper -f; rm CHANGES ANNOUNCE* *.html *.lsm *.1 + |