1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#
# Makefile is used only for building the distribution.
DISTFILES = git-notifier Makefile README.rst COPYING CHANGES VERSION
WWW = $(HOME)/www/git-notifier
VERSION = `cat VERSION`
all:
dist:
rm -rf git-notifier-$(VERSION) git-notifier-$(VERSION).tar.gz
mkdir git-notifier-$(VERSION)
cp $(DISTFILES) git-notifier-$(VERSION)
tar czvf git-notifier-$(VERSION).tar.gz git-notifier-$(VERSION)
rm -rf git-notifier-$(VERSION)
doc:
rst2html.py README.rst >README.html
www: dist doc
cp README.html $(WWW)/index.html
cp git-notifier-$(VERSION).tar.gz $(WWW)
cp CHANGES $(WWW)
|