psycopg2/doc/Makefile

24 lines
342 B
Makefile
Raw Normal View History

2010-02-14 19:11:01 +03:00
.PHONY: help clean html text doctest
2010-02-14 19:11:01 +03:00
docs: html text
2010-02-14 08:01:00 +03:00
check: doctest
help:
2010-02-14 19:11:01 +03:00
cd src && $(MAKE) $@
html:
2010-02-14 19:11:01 +03:00
cd src && $(MAKE) $@
cp -r src/_build/html .
text:
2010-02-14 19:11:01 +03:00
cd src && $(MAKE) $@
cd src && tools/stitch_text.py index.rst _build/text > ../psycopg2.txt
doctest:
2010-02-14 19:11:01 +03:00
cd src && $(MAKE) $@
clean:
cd src && $(MAKE) $@
rm -rf html psycopg2.txt