Add readme target & clean-up

This commit is contained in:
Paul Makepeace 2011-04-28 12:01:33 +01:00
parent 8838261f76
commit e03b3913b4
1 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,9 @@ TEST_DATA = google/test/data/*.csv
BUMF = README.rst Makefile
ALL = $(SOURCE) $(TEST_DATA) $(BUMF)
readme:
rst2html.py README.rst > README.html
test:
PYTHONPATH=. sh -c 'for t in $(TEST_FILES); do python $$t; done'
@ -20,7 +23,8 @@ smalltest:
clean:
find . -name '*.pyc' | xargs rm -f
rm -f README.html
# COPYFILE_DISABLE=true for annoying ._* files in OS X
dist: clean
(cd ..; COPYFILE_DISABLE=true tar zcf $(NAME)-$(VERSION).tar.gz --exclude='.*' $(NAME))
(cd ..; COPYFILE_DISABLE=true tar zcf $(NAME)-$(VERSION).tar.gz --exclude='.*' $(NAME))