aboutsummaryrefslogtreecommitdiffstats
path: root/dist-tools
Commit message (Expand)AuthorAgeFilesLines
* Revise a bunch of links.Matthias Andree2006-03-311-3/+6
* Add a few revisions (not yet workable).Matthias Andree2005-11-271-7/+7
* Override LC_ALL so that a parsable Date results.Matthias Andree2005-07-101-6/+9
* Skip list subscriber counts.Matthias Andree2005-07-101-4/+6
* Pull out important configuration to the head of the script.Matthias Andree2005-07-101-6/+15
* Update links to fetchmail home page.Matthias Andree2005-04-271-1/+1
* Print time in UTC (GMT) and override locale to C.Matthias Andree2005-04-271-1/+1
* Change: use SVN rather than RCS to check out codeMatthias Andree2005-04-271-3/+10
* Move the html2txt script to dist-tools.Graham Wilson2004-11-291-0/+49
* Move a handful of scripts (used for releases, testing, etc.) to dist-tools, s...Graham Wilson2004-08-3018-0/+2405
* Try fallback to rpm (in case rpm is version 3).Matthias Andree2004-06-191-1/+2
* Make manServer compatible with modern groff installationsRob Funk2004-06-181-1/+9
* Make manServer.pl executableRob Funk2004-06-181-0/+0
* Move shipper to dist-tools directoryRob Funk2004-06-1811-0/+2462
* Add dist-tools directory, for tools used in creating a distribution.Rob Funk2004-06-181-0/+2927
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #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