geany/doc/makefile.win32

29 lines
625 B
Plaintext
Raw Normal View History

# 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
CP = copy /y
-include ../localwin32.mk
ifdef MSYS
CP = cp
endif
doc: geany.txt
$(RST2HTML) -stg --stylesheet=geany.css $^ geany.html
hacking-doc: ../HACKING
$(RST2HTML) -stg --stylesheet=geany.css $^ hacking.html
# FIXME: we should also replace anything like @VERSION@
Doxyfile: Doxyfile.in
$(CP) $< $@
api-doc: Doxyfile
$(DOXYGEN)