[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] CVSROOT: /cvsroot/navidoc
From: |
Asko Soukka |
Subject: |
[Gzz-commits] CVSROOT: /cvsroot/navidoc |
Date: |
Mon, 21 Jul 2003 10:10:38 -0400 |
Module name: navidoc
Branch: rel-0-1
Changes by: Asko Soukka <address@hidden> 03/07/21 10:10:38
Reply-to: address@hidden
CVSROOT: /cvsroot/navidoc
Module name: navidoc
Branch: rel-0-1
Changes by: Asko Soukka <address@hidden> 03/07/21 10:10:38
Added files:
doc : makefile.example
Log message:
example
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/navidoc/navidoc/doc/makefile.example?only_with_tag=rel-0-1&rev=1.1.2.1
Patches:
Index: navidoc/doc/makefile.example
diff -u /dev/null navidoc/doc/makefile.example:1.1.2.1
--- /dev/null Mon Jul 21 10:10:38 2003
+++ navidoc/doc/makefile.example Mon Jul 21 10:10:38 2003
@@ -0,0 +1,118 @@
+# This is a Makefile for documentation script +
+# speedups
+#
+# For a real makefile use build.xml instead of this.
+
+all: java
+# ant compile 2>&1 | sed 's/ *\[javac\] *//g'
+
+
+TEST=org/
+
+LDLIB=LD_LIBRARY_PATH=../libvob/src/jni
+
+CLASSPATH=../storm-depends/cryptix-jce-provider.jar:../fenfire/build:../storm/CLASSES:../alph/CLASSES:../libvob/CLASSES:../fenfire-depends/libvob.jar:../fenfire-depends/jython.jar:../fenfire-depends/jena.jar:../fenfire-depends/icu4j.jar:../fenfire-depends/xerces.jar
+
+PYTHONPATH=-Dpython.path=../fenfire-depends/jythonlib.jar:../fenfire-depends/jython.jar:../fenfire-depends/pythonlib.jar:.:../libvob:../alph
+
+JAVA ?= java
+
+java:
+ javac -d build -classpath $(CLASSPATH) `find org -name '*.java'`
+
+RUNTEST=$(LDLIB) java -cp $(CLASSPATH) $(PYTHONPATH) org.python.util.jython
org/fenfire/test/test.py
+
+test:
+ $(RUNTEST) -Dvob.api=gl $(DBG) $(TEST)
+
+testbugs:
+ $(RUNTEST) -Dvob.api=gl -f \* $(DBG) $(TEST)
+
+DEMO?=org/fenfire/demo/buoyoing.py
+
+runjython:
+ $(LDLIB) java -cp $(CLASSPATH) $(PYTHONPATH) org.python.util.jython
$(DBG)
+
+rundemo:
+ $(LDLIB) java -cp $(CLASSPATH) $(PYTHONPATH) org.python.util.jython
../libvob/rundemo.py $(DBG) $(DEMO)
+
+BENCH=org.fenfire.swamp.bench.graph
+
+bench:
+ $(LDLIB) $(JAVA) -cp $(CLASSPATH) $(PYTHONPATH) -Dvob.api=gl
org.python.util.jython ../libvob/runbench.py $(BENCH)
+
+copyrighted::
+ python ../fenfire/metacode/copyrighter.py Fenfire
+
+.PHONY: docs
+
+##########################################################################
+# General documentation targets
+all-docs:
+ make -C "../callgl/" docxx
+ make -C "../glmosaictext/" docxx
+ make -C "../libvob/" docxx java-doc
+ make -C "../fenfire/" java-doc
+ make -C "../loom/" java-doc
+ make -C "../navidoc/" java-doc
+ make -C "../storm/" java-doc
+ make -C "../alph/" java-doc
+
+# make -C "../navidoc/" html $(DBG) RST="$$(find ../ -name "*.rst"|xargs)"
+# make -C "../navidoc/" imagemap $(DBG) RST="$$(find ../ -name
"*.gen.html"|xargs)"
+ make -C "../navidoc/" html $(DBG) RST="../"
+ make -C "../navidoc/" imagemap $(DBG) HTML="../"
+
+docs: java-doc navidoc navilink
+
+DOCPKGS= -subpackages org
+#DOCPKGS= org.fenfire\
+# org.fenfire.index\
+# org.fenfire.index.impl\
+# org.fenfire.util\
+# org.fenfire.view\
+# org.fenfire.view.buoy\
+# org.fenfire.swamp\
+# org.fenfire.swamp.impl
+
+JAVADOCOPTS=-use -version -author -windowtitle "Fenfire Java API"
+java-doc:
+ find . -name '*.class' | xargs rm -f # Don't let javadoc see these
+ rm -Rf docs/javadoc
+ mkdir -p docs/javadoc
+ javadoc $(JAVADOCOPTS) -d docs/javadoc -sourcepath . $(DOCPKGS)
+##########################################################################
+# Navidoc documentation targets
+navidoc: # Compiles reST into HTML
+ make -C "../navidoc/" html DBG="$(DBG)" RST="../fenfire/docs/"
+
+navilink: # Bi-directional linking using imagemaps
+ make -C "../navidoc/" imagemap HTML="../fenfire/docs/"
+
+naviloop: # Compiles, links, loops
+ make -C "../navidoc/" html-loop DBG="--imagemap $(DBG)"
RST="../fenfire/$(RST)"
+
+peg: # Creates a new PEG, uses python for quick use
+ make -C "../navidoc/" new-peg PEGDIR="../fenfire/docs/pegboard"
+
+pegs: # Compiles only pegboard
+ make -C "../navidoc/" html DBG="$(DBG)" RST="../fenfire/docs/pegboard/"
+
+html: # Compiles reST into HTML, directories are processed recursively
+ make -C "../navidoc/" html DBG="$(DBG)" RST="../fenfire/$(RST)"
+
+html-loop: # Loop version for quick recompiling
+ make -C "../navidoc/" html-loop DBG="$(DBG)" RST="../fenfire/$(RST)"
+
+latex: # Compiles reST into LaTeX, directories are processed recursively
+ make -C "../navidoc/" latex DBG="$(DBG)" RST="../fenfire/$(RST)"
+
+latex-loop: # Loop version for quick recompiling
+ make -C "../navidoc/" latex-loop DBG="$(DBG)" RST="../fenfire/$(RST)"
+
+######
+# TAGS
+TAGS:
+ if [ -f "../TAGS" ]; then rm ../TAGS; fi
+ cd .. && find fenfire libvob alph callgl glmosaictext alph storm
navidoc -type d -name CVS -exec sed -e '/^[^/]/d' -e 's:^\(/[^/]*\).*:{}\1:' -e
's:/CVS/:/:' {}/Entries \;|xargs etags --append
+