Skip to content
Browse files

[svn r2787] delete API docs only when regenerating them

--HG--
branch : trunk
  • Loading branch information...
1 parent e894551 commit 082a6e9860359a0e0b362ac89e3839a3561c9f25 scoder committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 Makefile
View
3 Makefile
@@ -36,6 +36,7 @@ ftest_inplace: inplace
html: inplace
mkdir -p doc/html
PYTHONPATH=src $(PYTHON) doc/mkhtml.py doc/html . `cat version.txt`
+ rm -fr doc/html/api
@[ -x "`which epydoc`" ] \
&& (cd src && echo "Generating API docs ..." && \
PYTHONPATH=. epydoc -o ../doc/html/api --name lxml --url http://codespeak.net/lxml/ lxml/) \
@@ -52,7 +53,7 @@ ftest: ftest_inplace
clean:
find . \( -name '*.o' -o -name '*.c' -o -name '*.so' -o -name '*.py[cod]' -o -name '*.dll' \) -exec rm -f {} \;
- rm -rf build doc/html/api
+ rm -rf build
realclean: clean
rm -f TAGS

0 comments on commit 082a6e9

Please sign in to comment.
Something went wrong with that request. Please try again.