Thread: [Epydoc-commits] SF.net SVN: epydoc: [1226] trunk/epydoc/Makefile
Brought to you by:
edloper
From: <ed...@us...> - 2006-04-12 19:53:47
|
Revision: 1226 Author: edloper Date: 2006-04-12 12:53:44 -0700 (Wed, 12 Apr 2006) ViewCVS: http://svn.sourceforge.net/epydoc/?rev=1226&view=rev Log Message: ----------- - enable pdf api generation - added code to use profiling info (but currently not used -- it crashes with python 2.4 for some reason) - replaced man-to-html generating code - add all builtin modules to stdlib-html Modified Paths: -------------- trunk/epydoc/Makefile Modified: trunk/epydoc/Makefile =================================================================== --- trunk/epydoc/Makefile 2006-04-12 19:51:25 UTC (rev 1225) +++ trunk/epydoc/Makefile 2006-04-12 19:53:44 UTC (rev 1226) @@ -102,8 +102,7 @@ cp -r $(DOCS) $(WEBDIR) cp -r $(HTML_API) $(WEBDIR)/api cp -r $(HTML_EXAMPLES) $(WEBDIR)/examples - @echo "Skipping pdf generation (not implemented yet)" -# cp $(LATEX_API)/api.pdf $(WEBDIR)/epydoc.pdf + cp $(LATEX_API)/api.pdf $(WEBDIR)/epydoc.pdf touch .webpage.up2date # Use plaintext docformat by default. But this is overridden by the @@ -111,18 +110,17 @@ # xml.dom.minidom and a few Docutils modules get plaintext # docstrings). api-html: .api-html.up2date -.api-html.up2date: $(PY_SRCFILES) +.api-html.up2date: $(PY_SRCFILES) #profile.out rm -rf $(HTML_API) mkdir -p $(HTML_API) $(EPYDOC) -o $(HTML_API) --name epydoc --css white \ - --url http://epydoc.sourceforge.net \ + --url http://epydoc.sourceforge.net --pstat profile.out \ --inheritance=listed --navlink "epydoc $(VERSION)"\ - --docformat plaintext -v --graph classtree $(PY_SRC) + --docformat plaintext -v --graph all $(PY_SRC) touch .api-html.up2date api-pdf: .api-pdf.up2date .api-pdf.up2date: $(PY_SRCFILES) - @echo "Skipping pdf generation (not implemented yet)" rm -rf $(LATEX_API) mkdir -p $(LATEX_API) $(EPYDOC) --pdf -o $(LATEX_API) --docformat plaintext \ @@ -135,33 +133,36 @@ mkdir -p $(HTML_EXAMPLES) $(EPYDOC) -o $(HTML_EXAMPLES) --name epydoc \ --url http://epydoc.sourceforge.net \ - --css blue --top example --docformat=plaintext \ + --css white --top epytext_example --docformat=plaintext \ --navlink 'epydoc examples' doc/epytext_example.py sre $(EPYDOC) -o $(HTML_EXAMPLES)/grouped \ --inheritance=grouped \ --name epydoc --url http://epydoc.sourceforge.net \ - --css blue --debug \ + --css white --debug \ --navlink 'epydoc examples' doc/inh_example.py $(EPYDOC) -o $(HTML_EXAMPLES)/listed \ --inheritance=listed \ --name epydoc --url http://epydoc.sourceforge.net \ - --css blue --debug \ + --css white --debug \ --navlink 'epydoc examples' doc/inh_example.py $(EPYDOC) -o $(HTML_EXAMPLES)/included \ --inheritance=included \ --name epydoc --url http://epydoc.sourceforge.net \ - --css blue --debug \ + --css white --debug \ --navlink 'epydoc examples' doc/inh_example.py touch .examples.up2date # Generate the HTML version of the man page. Note: The # post-processing clean-up that I do is probably *not* very portable. doc/epydoc-man.html: man/epydoc.1 - wget http://localhost/cgi-bin/man2html?epydoc -O - \ - 2>/dev/null \ - | sed 's/<\/HEAD><BODY>/<link rel="stylesheet" href="epydoc.css" type="text\/css"\/><\/HEAD><BODY>/'\ + man2html man/epydoc.1 \ + | sed 's/<\/HEAD>/<link rel="stylesheet" href="epydoc.css" type="text\/css"\/><\/HEAD>/' \ + | sed 's/<H1>EPYDOC<\/H1>/<H1>epydoc (1)<\/H1>/' \ + | sed 's/<BODY>/<BODY><DIV CLASS="BODY">/'\ + | sed 's/Content-type:.*//' \ + | sed '/Section: User Commands/,/<HR>/{s/.*//;}'\ + | sed 's/<\/BODY>/<\/DIV><\/BODY>/'\ | sed '/<DD>/{s/<DD>//; :loop; n; b loop;}'\ - | sed '/<H1>/,/<HR>/{s/.*//;}'\ | sed 's/\(<A NAME=".*">\) <\/A>/\1/'\ | sed 's/<\/H2>/<\/H2><\/A>/'\ | sed 's/"\/cgi-bin\/man2html?epydocgui+1"/"epydocgui-man.html"/'\ @@ -169,16 +170,28 @@ > doc/epydoc-man.html doc/epydocgui-man.html: man/epydocgui.1 - wget http://localhost/cgi-bin/man2html?epydocgui -O - \ - 2>/dev/null \ - | sed 's/<\/HEAD><BODY>/<link rel="stylesheet" href="epydoc.css" type="text\/css"\/><\/HEAD><BODY>/'\ - | sed '/<H1>/,/<HR>/{s/.*//;}'\ + man2html man/epydocgui.1 \ + | sed 's/<\/HEAD>/<link rel="stylesheet" href="epydoc.css" type="text\/css"\/><\/HEAD>/' \ + | sed 's/<H1>EPYDOCGUI<\/H1>/<H1>epydocgui (1)<\/H1>/'\ + | sed 's/<BODY>/<BODY><DIV CLASS="BODY">/'\ + | sed 's/Content-type:.*//' \ + | sed '/Section: User Commands/,/<HR>/{s/.*//;}'\ + | sed 's/<\/BODY>/<\/DIV><\/BODY>/'\ + | sed '/<DD>/{s/<DD>//; :loop; n; b loop;}'\ | sed 's/\(<A NAME=".*">\) <\/A>/\1/'\ | sed 's/<\/H2>/<\/H2><\/A>/'\ - | sed 's/"\/cgi-bin\/man2html?epydoc+1"/"epydoc-man.html"/'\ + | sed 's/"\/cgi-bin\/man2html?epydocgui+1"/"epydocgui-man.html"/'\ | sed 's/<A HREF="\/cgi-bin\/man2html">man2html<\/A>/man2html/'\ > doc/epydocgui-man.html +# [XX] A bug in the profiler for py 2.4 prevents this from working!! +profile.out: $(PY_SRCFILES) + $(EPYDOC) -o profile.tmp --name epydoc --css white \ + --url http://epydoc.sourceforge.net --profile-epydoc \ + --inheritance=listed --navlink "epydoc $(VERSION)"\ + --docformat plaintext -v --graph all $(PY_SRC) + rm -rf profile.tmp + ##////////////////////////////////////////////////////////////////////// ## Standard Library docs ##////////////////////////////////////////////////////////////////////// @@ -190,15 +203,18 @@ |grep -v "/$(PYTHON)/lib-old/" \ |grep -v "/$(PYTHON)/site-packages/" \ |grep -v "/$(PYTHON)/__phello__\.foo\.py" ) +PY_PRINT_BUILTINS = "import sys; print ' '.join(sys.builtin_module_names)" +SLBUILTINS = $(shell $(PYTHON) -c $(PY_PRINT_BUILTINS)) + export TZ='XXX00XXX;000/00,000/00' # So tzparse won't die. stdlib-html: .stdlib-html.up2date .stdlib-html.up2date: $(PY_SRCFILES) rm -rf $(HTML_STDLIB) mkdir -p $(HTML_STDLIB) @echo "Building stdlib html docs..." - @$(EPYDOC) -o $(HTML_STDLIB) --css white \ - --name $(SLNAME) --url $(SLURL) --debug \ - --show-imports __builtin__ $(SLFILES) + @$(EPYDOC) -o $(HTML_STDLIB) --css white --name $(SLNAME) \ + --url $(SLURL) --debug --graph classtree \ + --show-imports $(SLBUILTINS) $(SLFILES) touch .stdlib-html.up2date # (this will typically cause latex to run out of resources) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ed...@us...> - 2006-08-22 16:46:07
|
Revision: 1296 Author: edloper Date: 2006-08-22 09:46:03 -0700 (Tue, 22 Aug 2006) ViewCVS: http://svn.sourceforge.net/epydoc/?rev=1296&view=rev Log Message: ----------- - Added regression tests to the web page Modified Paths: -------------- trunk/epydoc/Makefile Modified: trunk/epydoc/Makefile =================================================================== --- trunk/epydoc/Makefile 2006-08-22 16:45:49 UTC (rev 1295) +++ trunk/epydoc/Makefile 2006-08-22 16:46:03 UTC (rev 1296) @@ -13,6 +13,7 @@ PY_SRCFILES = $(shell find $(PY_SRC) -name '*.py') EXAMPLES_SRC = $(wildcard doc/*.py) DOCS = $(wildcard doc/*) +DOCTESTS = $(wildcard src/epydoc/test/*.doctest) # What version of python to use? PYTHON = python2.4 @@ -33,9 +34,11 @@ HTML_API = $(HTML)/api HTML_EXAMPLES = $(HTML)/examples HTML_STDLIB = $(HTML)/stdlib +HTML_DOCTEST = $(HTML)/doctest LATEX_API = $(LATEX)/api LATEX_STDLIB = $(LATEX)/stdlib + EPYDOC = $(PYTHON) src/epydoc/cli.py export PYTHONPATH=src/ @@ -53,6 +56,7 @@ @echo " make webpage -- build the webpage and copy it to sourceforge" @echo " make api-html -- build the HTML docs for epydoc" @echo " make api-pdf -- build the PDF docs for epydoc" + @echo " make doctest-html -- convert doctests to HTML" @echo " make examples -- build example API docs for the webpage" @echo " make stdlib-html -- build HTML docs for the Python Standard Library" @echo " make checkdocs -- check the documentation completeness" @@ -96,12 +100,14 @@ epydoc --check --tests=vars,types $(PY_SRC) .webpage.up2date: .api-html.up2date .examples.up2date .api-pdf.up2date \ - doc/epydoc-man.html doc/epydocgui-man.html $(DOCS) + .doctest-html.up2date doc/epydoc-man.html \ + doc/epydocgui-man.html $(DOCS) rm -rf $(WEBDIR) mkdir -p $(WEBDIR) cp -r $(DOCS) $(WEBDIR) cp -r $(HTML_API) $(WEBDIR)/api cp -r $(HTML_EXAMPLES) $(WEBDIR)/examples + cp -r $(HTML_DOCTEST) $(WEBDIR)/doctest cp $(LATEX_API)/api.pdf $(WEBDIR)/epydoc.pdf touch .webpage.up2date @@ -127,6 +133,18 @@ --name "Epydoc $(VERSION)" $(PY_SRC) -v touch .api-pdf.up2date +doctest-html: .doctests.up2date +.doctest-html.up2date: $(DOCTESTS) + rm -rf $(HTML_DOCTEST) + mkdir -p $(HTML_DOCTEST) + @for doctest in $(DOCTESTS); do \ + out_file=$(HTML_DOCTEST)/`basename $$doctest .doctest`.html; \ + echo rst2html $$doctest $$out_file; \ + if rst2html $$doctest $$out_file; then true; \ + else exit 1; fi\ + done + touch .doctest-html.up2date + examples: .examples.up2date .examples.up2date: $(EXAMPLES_SRC) $(PY_SRCFILES) rm -rf $(HTML_EXAMPLES) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ed...@us...> - 2006-08-24 06:51:25
|
Revision: 1316 Author: edloper Date: 2006-08-23 23:51:22 -0700 (Wed, 23 Aug 2006) ViewCVS: http://svn.sourceforge.net/epydoc/?rev=1316&view=rev Log Message: ----------- Build profile.out before building epydoc's api docs. (Fixed bug that was causing profiling to crash.) Modified Paths: -------------- trunk/epydoc/Makefile Modified: trunk/epydoc/Makefile =================================================================== --- trunk/epydoc/Makefile 2006-08-24 06:50:43 UTC (rev 1315) +++ trunk/epydoc/Makefile 2006-08-24 06:51:22 UTC (rev 1316) @@ -38,7 +38,6 @@ LATEX_API = $(LATEX)/api LATEX_STDLIB = $(LATEX)/stdlib - EPYDOC = $(PYTHON) src/epydoc/cli.py export PYTHONPATH=src/ @@ -116,7 +115,7 @@ # xml.dom.minidom and a few Docutils modules get plaintext # docstrings). api-html: .api-html.up2date -.api-html.up2date: $(PY_SRCFILES) #profile.out +.api-html.up2date: $(PY_SRCFILES) profile.out rm -rf $(HTML_API) mkdir -p $(HTML_API) $(EPYDOC) -o $(HTML_API) --name epydoc --css white \ @@ -202,7 +201,6 @@ | sed 's/<A HREF="\/cgi-bin\/man2html">man2html<\/A>/man2html/'\ > doc/epydocgui-man.html -# [XX] A bug in the profiler for py 2.4 prevents this from working!! profile.out: $(PY_SRCFILES) $(EPYDOC) -o profile.tmp --name epydoc --css white \ --url http://epydoc.sourceforge.net --profile-epydoc \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ed...@us...> - 2006-08-24 07:02:13
|
Revision: 1318 Author: edloper Date: 2006-08-24 00:02:08 -0700 (Thu, 24 Aug 2006) ViewCVS: http://svn.sourceforge.net/epydoc/?rev=1318&view=rev Log Message: ----------- - Use $(PYTHON) to find version (not 'python'). Modified Paths: -------------- trunk/epydoc/Makefile Modified: trunk/epydoc/Makefile =================================================================== --- trunk/epydoc/Makefile 2006-08-24 07:01:22 UTC (rev 1317) +++ trunk/epydoc/Makefile 2006-08-24 07:02:08 UTC (rev 1318) @@ -23,7 +23,7 @@ DIR = /home/groups/e/ep/epydoc/htdocs # The current version of epydoc. -VERSION = $(shell python -c 'import epydoc; print epydoc.__version__') +VERSION = $(shell $(PYTHON) -c 'import epydoc; print epydoc.__version__') # Base output directories WEBDIR = webpage This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ed...@us...> - 2006-09-03 03:41:15
|
Revision: 1348 http://svn.sourceforge.net/epydoc/?rev=1348&view=rev Author: edloper Date: 2006-09-02 20:41:12 -0700 (Sat, 02 Sep 2006) Log Message: ----------- - Added --debug to epydoc invocations Modified Paths: -------------- trunk/epydoc/Makefile Modified: trunk/epydoc/Makefile =================================================================== --- trunk/epydoc/Makefile 2006-09-03 03:40:30 UTC (rev 1347) +++ trunk/epydoc/Makefile 2006-09-03 03:41:12 UTC (rev 1348) @@ -125,7 +125,7 @@ $(EPYDOC) -o $(HTML_API) --name epydoc --css white \ --url http://epydoc.sourceforge.net --pstat profile.out \ --inheritance=listed --navlink "epydoc $(VERSION)"\ - --docformat plaintext -v --graph all $(PY_SRC) + --docformat plaintext -v --graph all --debug $(PY_SRC) touch .api-html.up2date api-pdf: .api-pdf.up2date @@ -133,7 +133,7 @@ rm -rf $(LATEX_API) mkdir -p $(LATEX_API) $(EPYDOC) --pdf -o $(LATEX_API) --docformat plaintext \ - --name "Epydoc $(VERSION)" $(PY_SRC) -v + --name "Epydoc $(VERSION)" $(PY_SRC) -v --debug touch .api-pdf.up2date doctest-html: .doctest-html.up2date @@ -152,21 +152,21 @@ .examples.up2date: $(EXAMPLES_SRC) $(PY_SRCFILES) rm -rf $(HTML_EXAMPLES) mkdir -p $(HTML_EXAMPLES) - $(EPYDOC) -o $(HTML_EXAMPLES) --name epydoc \ + $(EPYDOC) -o $(HTML_EXAMPLES) --name epydoc --debug \ --url http://epydoc.sourceforge.net \ --css white --top epytext_example --docformat=plaintext \ --navlink 'epydoc examples' doc/epytext_example.py sre - $(EPYDOC) -o $(HTML_EXAMPLES)/grouped \ + $(EPYDOC) -o $(HTML_EXAMPLES)/grouped --debug \ --inheritance=grouped \ --name epydoc --url http://epydoc.sourceforge.net \ --css white --debug \ --navlink 'epydoc examples' doc/inh_example.py - $(EPYDOC) -o $(HTML_EXAMPLES)/listed \ + $(EPYDOC) -o $(HTML_EXAMPLES)/listed --debug \ --inheritance=listed \ --name epydoc --url http://epydoc.sourceforge.net \ --css white --debug \ --navlink 'epydoc examples' doc/inh_example.py - $(EPYDOC) -o $(HTML_EXAMPLES)/included \ + $(EPYDOC) -o $(HTML_EXAMPLES)/included --debug \ --inheritance=included \ --name epydoc --url http://epydoc.sourceforge.net \ --css white --debug \ @@ -206,7 +206,7 @@ > doc/epydocgui-man.html profile.out: $(PY_SRCFILES) - $(EPYDOC) -o profile.tmp --name epydoc --css white \ + $(EPYDOC) -o profile.tmp --name epydoc --css white --debug \ --url http://epydoc.sourceforge.net --profile-epydoc \ --inheritance=listed --navlink "epydoc $(VERSION)"\ --docformat plaintext -v --graph all $(PY_SRC) @@ -233,7 +233,7 @@ mkdir -p $(HTML_STDLIB) @echo "Building stdlib html docs..." @$(EPYDOC) -o $(HTML_STDLIB) --css white --name $(SLNAME) \ - --url $(SLURL) --debug --graph classtree \ + --url $(SLURL) --debug --graph classtree --debug \ --show-imports $(SLBUILTINS) $(SLFILES) touch .stdlib-html.up2date @@ -242,7 +242,7 @@ .stdlib-pdf.up2date: $(PY_SRCFILES) rm -rf $(LATEX_STDLIB) mkdir -p $(LATEX_STDLIB) - $(EPYDOC) --pdf -o $(LATEX_STDLIB) \ + $(EPYDOC) --pdf -o $(LATEX_STDLIB) --debug \ --no-private --name $(SLNAME) --docformat plaintext \ --debug --builtins $(SLFILES) ##////////////////////////////////////////////////////////////////////// @@ -263,7 +263,7 @@ .docutils-html.up2date: $(PY_SRCFILES) rm -rf $(HTML)/docutils mkdir -p $(HTML)/docutils - $(EPYDOC) -o $(HTML)/docutils -n 'Docutils' --html \ + $(EPYDOC) -o $(HTML)/docutils -n 'Docutils' --html --debug \ --docformat plaintext --ignore-param-mismatch \ /usr/lib/python2.3/site-packages/docutils touch .docutils-html.up2date @@ -272,7 +272,7 @@ .docutils-pdf.up2date: $(PY_SRCFILES) rm -rf $(LATEX)/docutils mkdir -p $(LATEX)/docutils - $(EPYDOC) -o $(LATEX)/docutils -n 'Docutils' --pdf \ + $(EPYDOC) -o $(LATEX)/docutils -n 'Docutils' --pdf --debug \ --docformat plaintext --ignore-param-mismatch \ /usr/lib/python2.3/site-packages/docutils touch .docutils-pdf.up2date This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ed...@us...> - 2006-09-06 23:47:24
|
Revision: 1363 http://svn.sourceforge.net/epydoc/?rev=1363&view=rev Author: edloper Date: 2006-09-06 16:47:17 -0700 (Wed, 06 Sep 2006) Log Message: ----------- - When documenting the stdlib, ignore /idlelib/ - Clean up old profile.out file before making profile.out; and clean up hotshot.out when we're done. Modified Paths: -------------- trunk/epydoc/Makefile Modified: trunk/epydoc/Makefile =================================================================== --- trunk/epydoc/Makefile 2006-09-06 23:46:28 UTC (rev 1362) +++ trunk/epydoc/Makefile 2006-09-06 23:47:17 UTC (rev 1363) @@ -206,11 +206,12 @@ > doc/epydocgui-man.html profile.out: $(PY_SRCFILES) + rm -f profile.out $(EPYDOC) -o profile.tmp --name epydoc --css white --debug \ --url http://epydoc.sourceforge.net --profile-epydoc \ --inheritance=listed --navlink "epydoc $(VERSION)"\ --docformat plaintext -v --graph all $(PY_SRC) - rm -rf profile.tmp + rm -rf profile.tmp hotshot.out ##////////////////////////////////////////////////////////////////////// ## Standard Library docs @@ -221,6 +222,7 @@ SLFILES = $(shell find /usr/lib/$(PYTHON)/ -name '*.py' -o -name '*.so' \ |grep -v "/$(PYTHON)/config/" \ |grep -v "/$(PYTHON)/lib-old/" \ + |grep -v "/$(PYTHON)/idlelib/" \ |grep -v "/$(PYTHON)/site-packages/" \ |grep -v "/$(PYTHON)/__phello__\.foo\.py" ) PY_PRINT_BUILTINS = "import sys; print ' '.join(sys.builtin_module_names)" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ed...@us...> - 2006-09-10 22:43:55
|
Revision: 1382 http://svn.sourceforge.net/epydoc/?rev=1382&view=rev Author: edloper Date: 2006-09-10 15:43:51 -0700 (Sun, 10 Sep 2006) Log Message: ----------- - When building stdlib docs, don't include any graphs or source code -- the quota on sourceforge won't allow enough space for them. :( Modified Paths: -------------- trunk/epydoc/Makefile Modified: trunk/epydoc/Makefile =================================================================== --- trunk/epydoc/Makefile 2006-09-10 22:43:02 UTC (rev 1381) +++ trunk/epydoc/Makefile 2006-09-10 22:43:51 UTC (rev 1382) @@ -235,7 +235,7 @@ mkdir -p $(HTML_STDLIB) @echo "Building stdlib html docs..." @$(EPYDOC) -o $(HTML_STDLIB) --css white --name $(SLNAME) \ - --url $(SLURL) --debug --graph classtree --debug \ + --url $(SLURL) --debug --no-sourcecode --debug \ --show-imports $(SLBUILTINS) $(SLFILES) touch .stdlib-html.up2date This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ed...@us...> - 2007-02-11 05:52:31
|
Revision: 1458 http://svn.sourceforge.net/epydoc/?rev=1458&view=rev Author: edloper Date: 2007-02-10 21:52:27 -0800 (Sat, 10 Feb 2007) Log Message: ----------- - Replaced implementation of doctest-html target with a more makefile-like one (the old one use a shell script; and in the comments for SF bug #1655963, someone indicated that it wasn't working for them.) Modified Paths: -------------- trunk/epydoc/Makefile Modified: trunk/epydoc/Makefile =================================================================== --- trunk/epydoc/Makefile 2007-02-11 05:46:59 UTC (rev 1457) +++ trunk/epydoc/Makefile 2007-02-11 05:52:27 UTC (rev 1458) @@ -136,17 +136,14 @@ --name "Epydoc $(VERSION)" $(PY_SRC) -v --debug touch .api-pdf.up2date -doctest-html: .doctest-html.up2date -.doctest-html.up2date: $(DOCTESTS) - rm -rf $(HTML_DOCTEST) +# 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) - for doctest in $(DOCTESTS); do \ - out_file=$(HTML_DOCTEST)/`basename $$doctest .doctest`.html; \ - echo "$(RST2HTML) $$doctest $$out_file"; \ - if $(RST2HTML) $$doctest $$out_file; then true; \ - else exit 1; fi\ - done - touch .doctest-html.up2date +$(HTML_DOCTEST)/%.html: src/epydoc/test/%.doctest + $(RST2HTML) $< $@ examples: .examples.up2date .examples.up2date: $(EXAMPLES_SRC) $(PY_SRCFILES) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ed...@us...> - 2007-02-13 19:53:10
|
Revision: 1474 http://svn.sourceforge.net/epydoc/?rev=1474&view=rev Author: edloper Date: 2007-02-13 11:53:08 -0800 (Tue, 13 Feb 2007) Log Message: ----------- - added "rm profile.out" to "make clean" Modified Paths: -------------- trunk/epydoc/Makefile Modified: trunk/epydoc/Makefile =================================================================== --- trunk/epydoc/Makefile 2007-02-13 19:46:05 UTC (rev 1473) +++ trunk/epydoc/Makefile 2007-02-13 19:53:08 UTC (rev 1474) @@ -74,6 +74,7 @@ $(MAKE) -C src clean rm -rf $(WEBDIR) $(HTML) $(LATEX) rm -rf .*.up2date + rm -rf profile.out ##////////////////////////////////////////////////////////////////////// ## Distributions This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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. |
From: <ed...@us...> - 2007-02-14 17:00:38
|
Revision: 1506 http://svn.sourceforge.net/epydoc/?rev=1506&view=rev Author: edloper Date: 2007-02-14 09:00:36 -0800 (Wed, 14 Feb 2007) Log Message: ----------- - Added --include-log to several targets in the Makefile Modified Paths: -------------- trunk/epydoc/Makefile Modified: trunk/epydoc/Makefile =================================================================== --- trunk/epydoc/Makefile 2007-02-14 16:57:34 UTC (rev 1505) +++ trunk/epydoc/Makefile 2007-02-14 17:00:36 UTC (rev 1506) @@ -129,6 +129,7 @@ $(EPYDOC) -o $(HTML_API) --name epydoc --css white \ --url http://epydoc.sourceforge.net --pstat profile.out \ --inheritance=listed --navlink "epydoc $(VERSION)"\ + --include-log \ --docformat plaintext -v --graph all --debug $(PY_SRC) touch .api-html.up2date @@ -210,6 +211,7 @@ $(EPYDOC) -o profile.tmp --name epydoc --css white --debug \ --url http://epydoc.sourceforge.net --profile-epydoc \ --inheritance=listed --navlink "epydoc $(VERSION)"\ + --include-log \ --docformat plaintext -v --graph all $(PY_SRC) rm -rf profile.tmp hotshot.out @@ -236,7 +238,7 @@ @echo "Building stdlib html docs..." @$(EPYDOC) -o $(HTML_STDLIB) --css white --name $(SLNAME) \ --url $(SLURL) --debug --no-sourcecode --debug \ - --show-imports $(SLBUILTINS) $(SLFILES) + --include-log --show-imports $(SLBUILTINS) $(SLFILES) touch .stdlib-html.up2date # (this will typically cause latex to run out of resources) @@ -267,7 +269,7 @@ mkdir -p $(HTML)/docutils $(EPYDOC) -o $(HTML)/docutils -n 'Docutils' --html --debug \ --docformat plaintext --ignore-param-mismatch \ - /usr/lib/python2.3/site-packages/docutils + --include-log /usr/lib/python2.3/site-packages/docutils touch .docutils-html.up2date docutils-pdf: .docutils-pdf.up2date This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dva...@us...> - 2007-02-20 09:50:39
|
Revision: 1542 http://svn.sourceforge.net/epydoc/?rev=1542&view=rev Author: dvarrazzo Date: 2007-02-20 01:50:38 -0800 (Tue, 20 Feb 2007) Log Message: ----------- - Added HTML manual generation Modified Paths: -------------- trunk/epydoc/Makefile Modified: trunk/epydoc/Makefile =================================================================== --- trunk/epydoc/Makefile 2007-02-20 09:49:56 UTC (rev 1541) +++ trunk/epydoc/Makefile 2007-02-20 09:50:38 UTC (rev 1542) @@ -14,6 +14,7 @@ EXAMPLES_SRC = $(wildcard doc/*.py) DOCS = $(wildcard doc/*) DOCTESTS = $(wildcard src/epydoc/test/*.doctest) +MANUAL_SRC = $(wildcard doc/manual*.txt) # What version of python to use? PYTHON = python @@ -47,6 +48,9 @@ DOCTEST_HTML_FILES := \ $(DOCTESTS:src/epydoc/test/%.doctest=$(HTML_DOCTEST)/%.html) +manual-html: $(MANUAL_SRC) + $(RST2HTML) doc/manual.txt $(HTML)/epydoc.html + ##////////////////////////////////////////////////////////////////////// ## Usage ##////////////////////////////////////////////////////////////////////// This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ed...@us...> - 2008-02-24 06:46:12
|
Revision: 1779 http://epydoc.svn.sourceforge.net/epydoc/?rev=1779&view=rev Author: edloper Date: 2008-02-23 22:46:10 -0800 (Sat, 23 Feb 2008) Log Message: ----------- - Added options to the latex command in the makefile Modified Paths: -------------- trunk/epydoc/Makefile Modified: trunk/epydoc/Makefile =================================================================== --- trunk/epydoc/Makefile 2008-02-24 06:41:25 UTC (rev 1778) +++ trunk/epydoc/Makefile 2008-02-24 06:46:10 UTC (rev 1779) @@ -157,6 +157,7 @@ rm -rf $(LATEX_API) mkdir -p $(LATEX_API) $(EPYDOC) --pdf -o $(LATEX_API) --docformat plaintext \ + --no-module-list --graph classtree --sty shaded \ --name "Epydoc $(VERSION)" $(PY_SRC) -v --debug touch .api-pdf.up2date This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ed...@us...> - 2008-02-24 19:43:25
|
Revision: 1786 http://epydoc.svn.sourceforge.net/epydoc/?rev=1786&view=rev Author: edloper Date: 2008-02-24 11:43:23 -0800 (Sun, 24 Feb 2008) Log Message: ----------- - Various makefile fixes, to reflect changes to latex generation Modified Paths: -------------- trunk/epydoc/Makefile Modified: trunk/epydoc/Makefile =================================================================== --- trunk/epydoc/Makefile 2008-02-24 19:42:55 UTC (rev 1785) +++ trunk/epydoc/Makefile 2008-02-24 19:43:23 UTC (rev 1786) @@ -12,7 +12,8 @@ PY_SRC = src/epydoc/ PY_SRCFILES = $(shell find $(PY_SRC) -name '*.py') EXAMPLES_SRC = $(wildcard doc/*.py) -DOCS = $(wildcard doc/*) +DOCDIR = doc +DOCS = $(wildcard $(DOCDIR)/*) DOCTESTS = $(wildcard src/epydoc/test/*.doctest) MANUAL_SRC = $(wildcard doc/manual-*.txt) @@ -37,8 +38,8 @@ HTML_EXAMPLES = $(HTML)/examples HTML_STDLIB = $(HTML)/stdlib HTML_DOCTEST = $(HTML)/doctest -LATEX_API = $(LATEX)/api -LATEX_STDLIB = $(LATEX)/stdlib +LATEX_API = $(LATEX)/api.pdf +LATEX_STDLIB = $(LATEX)/stdlib.pdf EPYDOC = $(PYTHON) src/epydoc/cli.py export PYTHONPATH=src/ @@ -134,7 +135,7 @@ cp -r $(HTML_API) $(WEBDIR)/api cp -r $(HTML_EXAMPLES) $(WEBDIR)/examples cp -r $(HTML_DOCTEST)/* $(WEBDIR)/doctest - cp $(LATEX_API)/api.pdf $(WEBDIR)/epydoc.pdf + cp $(LATEX_API) $(WEBDIR)/epydoc.pdf touch .webpage.up2date # Use plaintext docformat by default. But this is overridden by the @@ -154,10 +155,10 @@ api-pdf: .api-pdf.up2date .api-pdf.up2date: $(PY_SRCFILES) - rm -rf $(LATEX_API) - mkdir -p $(LATEX_API) + mkdir -p $(LATEX) + rm -f $(LATEX_API) $(EPYDOC) --pdf -o $(LATEX_API) --docformat plaintext \ - --no-module-list --graph classtree --sty shaded \ + --no-submodule-list --graph classtree --sty shaded \ --name "Epydoc $(VERSION)" $(PY_SRC) -v --debug touch .api-pdf.up2date @@ -236,10 +237,10 @@ --docformat plaintext -v --graph all $(PY_SRC) rm -rf profile.tmp hotshot.out -# Convert standard style files to html +# Convert builtin latex style files to html doc/epydoc-style-list.txt: src/epydoc/docwriter/latex_sty.py \ src/tools/sty2html.py - $(STY2HTML) $(WEBDIR) + $(STY2HTML) $(DOCDIR) ##////////////////////////////////////////////////////////////////////// ## Standard Library docs @@ -270,8 +271,8 @@ # (this will typically cause latex to run out of resources) stdlib-pdf: .stdlib-pdf.up2date .stdlib-pdf.up2date: $(PY_SRCFILES) - rm -rf $(LATEX_STDLIB) - mkdir -p $(LATEX_STDLIB) + mkdir -p $(LATEX) + rm -f $(LATEX_STDLIB) $(EPYDOC) --pdf -o $(LATEX_STDLIB) --debug \ --no-private --name $(SLNAME) --docformat plaintext \ --debug --builtins $(SLFILES) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ed...@us...> - 2008-02-26 17:16:50
|
Revision: 1796 http://epydoc.svn.sourceforge.net/epydoc/?rev=1796&view=rev Author: edloper Date: 2008-02-26 09:16:49 -0800 (Tue, 26 Feb 2008) Log Message: ----------- - Moved PYTHONPATH statement up Modified Paths: -------------- trunk/epydoc/Makefile Modified: trunk/epydoc/Makefile =================================================================== --- trunk/epydoc/Makefile 2008-02-26 17:13:33 UTC (rev 1795) +++ trunk/epydoc/Makefile 2008-02-26 17:16:49 UTC (rev 1796) @@ -19,6 +19,7 @@ # What version of python to use? PYTHON = python2.5 +export PYTHONPATH=src/ # The location of the webpage. HOST = shell.sf.net @@ -42,7 +43,6 @@ LATEX_STDLIB = $(LATEX)/stdlib.pdf EPYDOC = $(PYTHON) src/epydoc/cli.py -export PYTHONPATH=src/ RST2HTML = $(PYTHON) src/tools/rst2html.py MKDISPATCH = $(PYTHON) src/tools/mkdispatch.py This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |