2011-10-06 12:21:06 +00:00
|
|
|
# Optional documentation generation.
|
|
|
|
# localwin32.mk is an optional file to override make variables.
|
|
|
|
# Use localwin32.mk instead of editing variables as it is included in sub
|
|
|
|
# makefiles.
|
|
|
|
# Use localwin32.mk to override RST2HTML, DOXYGEN
|
|
|
|
# For MSYS use localwin32.mk to set CP and RM.
|
|
|
|
|
|
|
|
RST2HTML=python rst2html.py
|
|
|
|
DOXYGEN=doxygen
|
2011-11-02 15:03:17 +00:00
|
|
|
CP = copy
|
2011-10-06 12:21:06 +00:00
|
|
|
RM = del
|
|
|
|
-include ../localwin32.mk
|
|
|
|
|
|
|
|
doc: geany.txt
|
|
|
|
$(RST2HTML) -stg --stylesheet=geany.css $^ geany.html
|
|
|
|
|
|
|
|
hacking-doc: ../HACKING
|
|
|
|
$(RST2HTML) -stg --stylesheet=geany.css $^ hacking.html
|
|
|
|
|
2011-11-02 15:03:17 +00:00
|
|
|
# FIXME: we should also replace anything like @VERSION@
|
|
|
|
Doxyfile: Doxyfile.in
|
|
|
|
$(CP) $< $@
|
|
|
|
|
2011-10-06 12:21:06 +00:00
|
|
|
api-doc: Doxyfile
|
|
|
|
$(DOXYGEN)
|
|
|
|
|