Update HACKING for changed doc generation instructions
[geany-mirror.git] / doc / makefile.win32
blob11b0ade5edca86de79e023dbf1702cfa522ed46b
1 # Optional documentation generation.
2 # localwin32.mk is an optional file to override make variables.
3 # Use localwin32.mk instead of editing variables as it is included in sub
4 # makefiles.
5 # Use localwin32.mk to override RST2HTML, DOXYGEN
7 RST2HTML=python rst2html.py
8 SED=sed
9 DOXYGEN=doxygen
10 CP = copy /y
11 -include ../localwin32.mk
13 ifdef MSYS
14 CP = cp
15 endif
17 # no PDF rule yet
18 all: html api-doc
20 html: geany.html hacking.html
22 geany.html: geany.txt geany.css
23         $(RST2HTML) -stg --stylesheet=geany.css $< $@
25 hacking.html: ../HACKING geany.css
26         $(RST2HTML) -stg --stylesheet=geany.css $< $@
28 # FIXME: we should also replace @VERSION@
29 Doxyfile: Doxyfile.in
30         $(CP) $< $@
31         $(SED) -i 's/@top_builddir@/../g' $@
32         $(SED) -i 's/@top_srcdir@/../g' $@
34 api-doc: Doxyfile
35         $(DOXYGEN)