2 DOCDIR = $(DESTDIR)$(docdir)
3 IMAGE_FILES = images/*.png
4 EXTRA_DIST = geany.html geany.css geany.txt geany.1 \
5 plugins.dox pluginsymbols.c pluginsignals.c \
6 stash-example.c stash-gui-example.c \
7 $(srcdir)/$(IMAGE_FILES)
10 rst2latex -stg --documentoptions="10pt,a4paper" --output-encoding=utf8 $(srcdir)/geany.txt geany.tex
12 rm -f geany.tex geany.aux geany.log geany.out
13 mv $(srcdir)/geany.pdf geany-$(VERSION).pdf
18 hacking-doc: ../HACKING
19 rst2html -stg --stylesheet=geany.css $^ hacking.html
21 # when generating documentation, first try rst2html.py as it is the upstream default
23 (rst2html.py --version) < /dev/null > /dev/null 2>&1 && \
24 rst2html.py -stg --stylesheet=geany.css $(srcdir)/geany.txt geany.html || \
25 rst2html -stg --stylesheet=geany.css $(srcdir)/geany.txt geany.html
36 $(mkinstalldirs) $(DOCDIR)/html/images
37 for file in `ls $(srcdir)/$(IMAGE_FILES)`; do \
38 if [ -f $$file ]; then \
39 basefile=`echo $$file | sed -e 's,^.*/,,'`; \
40 $(INSTALL_DATA) $$file $(DOCDIR)/html/images/$$basefile; \
43 $(INSTALL_DATA) $(srcdir)/geany.html $(DOCDIR)/html/index.html
44 $(INSTALL_DATA) $(srcdir)/geany.txt $(DOCDIR)/manual.txt
45 $(INSTALL_DATA) $(top_srcdir)/README $(DOCDIR)
46 $(INSTALL_DATA) $(top_srcdir)/ChangeLog $(DOCDIR)
47 $(INSTALL_DATA) $(top_srcdir)/NEWS $(DOCDIR)
48 $(INSTALL_DATA) $(top_srcdir)/COPYING $(DOCDIR)
49 $(INSTALL_DATA) $(top_srcdir)/AUTHORS $(DOCDIR)
50 $(INSTALL_DATA) $(top_srcdir)/TODO $(DOCDIR)
51 $(INSTALL_DATA) $(top_srcdir)/THANKS $(DOCDIR)
52 $(INSTALL_DATA) $(top_srcdir)/scintilla/License.txt $(DOCDIR)/ScintillaLicense.txt