27 |
|
|
28 |
.PHONY: docs |
.PHONY: docs |
29 |
|
|
30 |
######################## |
########################################################################## |
31 |
# Navidoc targets begin |
# General documentation targets |
32 |
docs: # navidoc make html is recursive |
all-docs: |
33 |
|
make -C "../callgl/" docxx |
34 |
|
make -C "../glmosaictext/" docxx |
35 |
|
make -C "../libvob/" docxx java-doc |
36 |
|
make -C "../fenfire/" java-doc |
37 |
|
make -C "../loom/" java-doc |
38 |
|
make -C "../navidoc/" java-doc |
39 |
|
make -C "../storm/" java-doc |
40 |
|
make -C "../alph/" java-doc |
41 |
|
|
42 |
|
# make -C "../navidoc/" html $(DBG) RST="$$(find ../ -name "*.rst"|xargs)" |
43 |
|
# make -C "../navidoc/" imagemap $(DBG) RST="$$(find ../ -name "*.gen.html"|xargs)" |
44 |
|
make -C "../navidoc/" html $(DBG) RST="../" |
45 |
|
make -C "../navidoc/" imagemap $(DBG) HTML="../" |
46 |
|
|
47 |
|
docs: java-doc navidoc navilink |
48 |
|
|
49 |
|
DOCPKGS= org.fenfire\ |
50 |
|
org.fenfire.index\ |
51 |
|
org.fenfire.index.impl\ |
52 |
|
org.fenfire.util\ |
53 |
|
org.fenfire.view\ |
54 |
|
org.fenfire.view.buoy\ |
55 |
|
org.fenfire.swamp\ |
56 |
|
org.fenfire.swamp.impl |
57 |
|
|
58 |
|
JAVADOCOPTS=-use -version -author -windowtitle "Fenfire Java API" |
59 |
|
java-doc: |
60 |
|
find . -name '*.class' | xargs rm -f # Don't let javadoc see these |
61 |
|
rm -Rf docs/javadoc |
62 |
|
mkdir -p docs/javadoc |
63 |
|
javadoc $(JAVADOCOPTS) -d docs/javadoc -sourcepath . $(DOCPKGS) |
64 |
|
########################################################################## |
65 |
|
# Navidoc documentation targets |
66 |
|
navidoc: # Compiles ReST into HTML |
67 |
make -C "../navidoc/" html RST="../fenfire/docs/" |
make -C "../navidoc/" html RST="../fenfire/docs/" |
68 |
|
|
69 |
pegs: # navidoc make html is recursive |
navilink: # Bi-directional linking using imagemaps |
70 |
make -C "../navidoc/" html RST="../fenfire/docs/pegboard/" |
make -C "../navidoc/" imagemap HTML="../fenfire/docs/" |
71 |
|
|
72 |
html: |
peg: # Creates a new PEG, uses python for quick use |
73 |
|
make -C "../navidoc/" new-peg PEGDIR="../fenfire/docs/pegboard" |
74 |
|
|
75 |
|
pegs: # Compiles only pegboard |
76 |
|
make -C "../navidoc/" html $(DBG) RST="../fenfire/docs/pegboard/" |
77 |
|
|
78 |
|
html: # Compiles ReST into HTML, directories are processed recursively |
79 |
make -C "../navidoc/" html $(DBG) RST="../fenfire/$(RST)" |
make -C "../navidoc/" html $(DBG) RST="../fenfire/$(RST)" |
80 |
|
|
81 |
html-loop: |
html-loop: # Loop version for quick recompiling |
82 |
make -C "../navidoc/" html-loop $(DBG) RST="../fenfire/$(RST)" |
make -C "../navidoc/" html-loop $(DBG) RST="../fenfire/$(RST)" |
83 |
# Navidoc targets end |
|
84 |
###################### |
latex: # Compiles ReST into LaTeX, directories are processed recursively |
85 |
|
make -C "../navidoc/" latex $(DBG) RST="../fenfire/$(RST)" |
86 |
|
|
87 |
|
latex-loop: # Loop version for quick recompiling |
88 |
|
make -C "../navidoc/" latex-loop $(DBG) RST="../fenfire/$(RST)" |
89 |
|
|
90 |
###### |
###### |
91 |
# TAGS |
# TAGS |