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
|
|
|
|
|
|
|
|
RST2HTML=python rst2html.py
|
|
|
|
DOXYGEN=doxygen
|
2012-07-04 16:44:43 +01:00
|
|
|
CP = copy /y
|
2011-10-06 12:21:06 +00:00
|
|
|
-include ../localwin32.mk
|
|
|
|
|
2012-07-04 17:13:14 +01:00
|
|
|
ifdef MSYS
|
|
|
|
CP = cp
|
|
|
|
endif
|
|
|
|
|
2011-10-06 12:21:06 +00:00
|
|
|
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)
|
|
|
|
|