2002-04-12 14:46:09 +00:00
|
|
|
|
2006-06-27 04:44:28 +00:00
|
|
|
VERSION=0.6.2
|
2002-04-13 11:36:32 +00:00
|
|
|
VERSION_TAG=v$(subst .,_,$(VERSION))
|
2002-04-19 07:12:49 +00:00
|
|
|
TARFILE=archivemail-$(VERSION).tar.gz
|
2002-04-13 11:36:32 +00:00
|
|
|
|
2002-04-12 14:46:09 +00:00
|
|
|
|
|
|
|
default:
|
|
|
|
@echo "no default target"
|
|
|
|
|
|
|
|
clean:
|
2002-04-13 11:36:32 +00:00
|
|
|
rm -f *.pyc manpage.links manpage.refs manpage.log
|
2002-04-12 14:46:09 +00:00
|
|
|
|
2002-04-17 06:26:31 +00:00
|
|
|
test:
|
|
|
|
python test_archivemail.py
|
|
|
|
|
2002-04-12 14:46:09 +00:00
|
|
|
clobber: clean
|
|
|
|
rm -rf build dist
|
|
|
|
|
2002-04-23 03:01:26 +00:00
|
|
|
|
2002-04-17 06:26:31 +00:00
|
|
|
sdist: clobber doc
|
2002-04-12 14:46:09 +00:00
|
|
|
cp archivemail.py archivemail
|
|
|
|
fakeroot python setup.py sdist
|
|
|
|
rm archivemail
|
2002-05-07 12:14:29 +00:00
|
|
|
|
|
|
|
bdist_rpm: clobber doc
|
|
|
|
cp archivemail.py archivemail
|
|
|
|
fakeroot python setup.py bdist_rpm
|
|
|
|
rm archivemail
|
|
|
|
|
2002-04-12 14:46:09 +00:00
|
|
|
tag:
|
|
|
|
cvs tag -F current
|
2002-04-30 23:55:52 +00:00
|
|
|
cvs tag -F $(VERSION_TAG)
|
2002-04-13 11:36:32 +00:00
|
|
|
|
2002-04-19 07:12:49 +00:00
|
|
|
upload:
|
|
|
|
(cd dist && lftp -c 'open upload.sf.net && cd incoming && put $(TARFILE)')
|
|
|
|
|
2002-04-23 03:01:26 +00:00
|
|
|
doc: archivemail.1 archivemail.html
|
|
|
|
|
2002-04-12 14:46:09 +00:00
|
|
|
archivemail.1: archivemail.sgml
|
2002-10-03 06:27:08 +00:00
|
|
|
docbook2man archivemail.sgml
|
2002-04-12 14:57:05 +00:00
|
|
|
chmod 644 archivemail.1
|
2002-04-13 11:36:32 +00:00
|
|
|
|
|
|
|
archivemail.html: archivemail.sgml
|
2006-09-29 23:14:10 +00:00
|
|
|
docbook2html -u archivemail.sgml
|
2002-04-13 11:36:32 +00:00
|
|
|
chmod 644 archivemail.html
|