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 BUMF = README.rst Makefile
ALL = $(SOURCE) $(TEST_DATA) $(BUMF) ALL = $(SOURCE) $(TEST_DATA) $(BUMF)
readme:
rst2html.py README.rst > README.html
test: test:
PYTHONPATH=. sh -c 'for t in $(TEST_FILES); do python $$t; done' PYTHONPATH=. sh -c 'for t in $(TEST_FILES); do python $$t; done'
@ -20,6 +23,7 @@ smalltest:
clean: clean:
find . -name '*.pyc' | xargs rm -f find . -name '*.pyc' | xargs rm -f
rm -f README.html
# COPYFILE_DISABLE=true for annoying ._* files in OS X # COPYFILE_DISABLE=true for annoying ._* files in OS X
dist: clean dist: clean