From e03b3913b48235aeadf4f85ef42e4e3571b7894b Mon Sep 17 00:00:00 2001 From: Paul Makepeace Date: Thu, 28 Apr 2011 12:01:33 +0100 Subject: [PATCH] Add readme target & clean-up --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 087db04..ea0523a 100644 --- a/Makefile +++ b/Makefile @@ -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)) \ No newline at end of file + (cd ..; COPYFILE_DISABLE=true tar zcf $(NAME)-$(VERSION).tar.gz --exclude='.*' $(NAME))