aboutsummaryrefslogtreecommitdiffstats
path: root/dist-tools/shipper/README
blob: c06f813adc4a318664650ba6f2d97eb7e92cab96 (plain)
1
2
3
4
5
6
7
		README for shipper

shipper automates the tedious process of shipping a software release to
several standard places, including ibiblio, the Red Hat submission directory,
and your own hosted website.  It also knows how to post a release announcement
to freshmeat.net via freshmeat-submit.  Two auxiliary tools, buildrpms and 
rpm2lsm, build RPMs and generate LSM files from them respectively.
dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# 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