Add readme target & clean-up
This commit is contained in:
parent
8838261f76
commit
e03b3913b4
6
Makefile
6
Makefile
|
@ -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,7 +23,8 @@ 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
|
||||||
(cd ..; COPYFILE_DISABLE=true tar zcf $(NAME)-$(VERSION).tar.gz --exclude='.*' $(NAME))
|
(cd ..; COPYFILE_DISABLE=true tar zcf $(NAME)-$(VERSION).tar.gz --exclude='.*' $(NAME))
|
||||||
|
|
Loading…
Reference in New Issue