[Epydoc-commits] SF.net SVN: epydoc: [1497] trunk/epydoc/Makefile
Brought to you by:
edloper
From: <ed...@us...> - 2007-02-14 05:43:32
|
Revision: 1497 http://svn.sourceforge.net/epydoc/?rev=1497&view=rev Author: edloper Date: 2007-02-13 21:43:07 -0800 (Tue, 13 Feb 2007) Log Message: ----------- - Fixed makefile bug Modified Paths: -------------- trunk/epydoc/Makefile Modified: trunk/epydoc/Makefile =================================================================== --- trunk/epydoc/Makefile 2007-02-14 03:51:27 UTC (rev 1496) +++ trunk/epydoc/Makefile 2007-02-14 05:43:07 UTC (rev 1497) @@ -44,6 +44,9 @@ # Options for rst->html converter RST2HTML = $(PYTHON) src/tools/rst2html.py +DOCTEST_HTML_FILES := \ + $(DOCTESTS:src/epydoc/test/%.doctest=$(HTML_DOCTEST)/%.html) + ##////////////////////////////////////////////////////////////////////// ## Usage ##////////////////////////////////////////////////////////////////////// @@ -104,7 +107,7 @@ epydoc --check --tests=vars,types $(PY_SRC) .webpage.up2date: .api-html.up2date .examples.up2date .api-pdf.up2date \ - .doctest-html.up2date doc/epydoc-man.html \ + $(DOCTEST_HTML_FILES) doc/epydoc-man.html \ doc/epydocgui-man.html $(DOCS) rm -rf $(WEBDIR) mkdir -p $(WEBDIR) @@ -138,12 +141,11 @@ touch .api-pdf.up2date # Convert doctest files to HTML, using rst2html. -DOCTEST_HTML_FILES := \ - $(DOCTESTS:src/epydoc/test/%.doctest=$(HTML_DOCTEST)/%.html) doctest-html: doctest-html-mkdir $(DOCTEST_HTML_FILES) doctest-html-mkdir: mkdir -p $(HTML_DOCTEST) $(HTML_DOCTEST)/%.html: src/epydoc/test/%.doctest + mkdir -p $(HTML_DOCTEST) $(RST2HTML) $< $@ examples: .examples.up2date This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |