2006-06-08 14:45:14 +00:00
|
|
|
man_MANS=geany.1
|
2008-06-09 17:43:48 +00:00
|
|
|
DOCDIR = $(DESTDIR)$(docdir)
|
2006-12-21 14:03:18 +00:00
|
|
|
IMAGE_FILES = images/*.png
|
2008-07-07 13:08:07 +00:00
|
|
|
EXTRA_DIST = geany.html geany.css geany.txt geany.1 plugins.dox pluginsymbols.c \
|
2007-08-09 10:05:00 +00:00
|
|
|
$(srcdir)/$(IMAGE_FILES)
|
2005-11-22 12:26:26 +00:00
|
|
|
|
2007-08-09 10:05:00 +00:00
|
|
|
pdf: geany.txt
|
2007-08-12 19:30:45 +00:00
|
|
|
rst2latex -stg --documentoptions="10pt,a4paper" --output-encoding=utf8 $(srcdir)/geany.txt geany.tex
|
2007-08-09 10:05:00 +00:00
|
|
|
pdflatex geany.tex
|
|
|
|
rm -f geany.tex geany.aux geany.log geany.out
|
|
|
|
mv $(srcdir)/geany.pdf geany-$(VERSION).pdf
|
2005-11-22 12:26:26 +00:00
|
|
|
|
2008-02-17 18:00:42 +00:00
|
|
|
api-doc: Doxyfile
|
2008-03-07 14:20:25 +00:00
|
|
|
doxygen
|
2008-02-17 18:00:42 +00:00
|
|
|
|
2008-09-29 18:09:43 +00:00
|
|
|
# when generating documentation, first try rst2html.py as it is the upstream default
|
2007-08-09 10:05:00 +00:00
|
|
|
doc: geany.txt
|
2008-09-29 18:09:43 +00:00
|
|
|
rst2html.py -stg --stylesheet=geany.css $(srcdir)/geany.txt geany.html || \
|
2007-08-12 19:30:45 +00:00
|
|
|
rst2html -stg --stylesheet=geany.css $(srcdir)/geany.txt geany.html
|
2005-11-22 12:26:26 +00:00
|
|
|
|
2006-01-03 12:42:29 +00:00
|
|
|
doc-clean:
|
2007-08-09 10:05:00 +00:00
|
|
|
rm -f geany.html
|
2005-12-11 18:06:07 +00:00
|
|
|
rm -f geany.1
|
2006-01-03 12:42:29 +00:00
|
|
|
rm -f *.pdf
|
2005-11-22 12:26:26 +00:00
|
|
|
|
2006-02-14 21:56:34 +00:00
|
|
|
uninstall-local:
|
|
|
|
rm -rf $(DOCDIR);
|
|
|
|
|
2006-07-03 11:31:00 +00:00
|
|
|
install-data-local:
|
2005-11-22 12:26:26 +00:00
|
|
|
$(mkinstalldirs) $(DOCDIR)/html/images
|
2007-04-08 16:38:46 +00:00
|
|
|
for file in `ls $(srcdir)/$(IMAGE_FILES)`; do \
|
2005-11-22 15:35:08 +00:00
|
|
|
if [ -f $$file ]; then \
|
|
|
|
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
|
2007-04-08 16:38:46 +00:00
|
|
|
$(INSTALL_DATA) $$file $(DOCDIR)/html/images/$$basefile; \
|
2005-11-22 15:35:08 +00:00
|
|
|
fi \
|
2005-11-22 12:26:26 +00:00
|
|
|
done
|
2007-08-09 10:05:00 +00:00
|
|
|
$(INSTALL_DATA) $(srcdir)/geany.html $(DOCDIR)/html/index.html
|
2007-04-08 16:38:46 +00:00
|
|
|
$(INSTALL_DATA) $(srcdir)/geany.txt $(DOCDIR)/manual.txt
|
|
|
|
$(INSTALL_DATA) $(top_srcdir)/README $(DOCDIR)
|
|
|
|
$(INSTALL_DATA) $(top_srcdir)/ChangeLog $(DOCDIR)
|
|
|
|
$(INSTALL_DATA) $(top_srcdir)/NEWS $(DOCDIR)
|
|
|
|
$(INSTALL_DATA) $(top_srcdir)/COPYING $(DOCDIR)
|
|
|
|
$(INSTALL_DATA) $(top_srcdir)/AUTHORS $(DOCDIR)
|
|
|
|
$(INSTALL_DATA) $(top_srcdir)/TODO $(DOCDIR)
|
2008-06-04 15:43:52 +00:00
|
|
|
$(INSTALL_DATA) $(top_srcdir)/THANKS $(DOCDIR)
|
2007-04-08 16:38:46 +00:00
|
|
|
$(INSTALL_DATA) $(top_srcdir)/scintilla/License.txt $(DOCDIR)/ScintillaLicense.txt
|
2005-11-22 12:26:26 +00:00
|
|
|
|