[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Added dev-docs target to build the Python Tools' API documentation.



# HG changeset patch
# User ewan@xxxxxxxxxxxxx
# Node ID 89a842453d77f44f1ff199ce25bda7e96371301f
# Parent  f44b792e898c5bb2e8ea63cf44f698c72b67a71d
Added dev-docs target to build the Python Tools' API documentation.

diff -r f44b792e898c -r 89a842453d77 docs/Makefile
--- a/docs/Makefile     Sun Sep 11 20:11:47 2005
+++ b/docs/Makefile     Sun Sep 11 20:12:40 2005
@@ -8,6 +8,7 @@
 LATEX          := latex
 FIG2DEV                := fig2dev
 LATEX2HTML     := latex2html
+DOXYGEN                := doxygen
 
 pkgdocdir      := /usr/share/doc/xen
 
@@ -18,9 +19,13 @@
 
 GFX = $(patsubst %.fig, %.eps, $(wildcard figs/*.fig))
 
+.PHONY:        all build dev-docs python-dev-docs ps pdf html clean install
+
 all: build
 build: ps pdf html
        rm -f *.aux *.dvi *.bbl *.blg *.glo *.idx *.ilg *.log *.ind *.toc
+
+dev-docs: python-dev-docs
 
 ps: $(DOC_PS)
 
@@ -30,10 +35,18 @@
        @if which $(LATEX2HTML) 1>/dev/null 2>/dev/null; then \
        $(MAKE) $(DOC_HTML); fi
 
+python-dev-docs:
+       mkdir -p api/tools/python
+       @if which $(DOXYGEN) 1>/dev/null 2>/dev/null; then         \
+        echo "Running doxygen to generate Python tools APIs ... "; \
+       $(DOXYGEN) Doxyfile;                                       \
+       $(MAKE) -C api/tools/python/latex ; fi
+
 clean:
        rm -rf .word_count *.aux *.dvi *.bbl *.blg *.glo *.idx *~ 
        rm -rf *.ilg *.log *.ind *.toc *.bak core
        rm -rf $(GFX) ps pdf html
+       rm -rf api
 
 install: all
        rm -rf $(DESTDIR)$(pkgdocdir)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.