2006-06-08 14:45:14 +00:00
|
|
|
man_MANS=geany.1
|
2014-04-15 14:41:26 +02:00
|
|
|
|
|
|
|
htmldocimagesdir = $(docdir)/html/images
|
|
|
|
dist_htmldocimages_DATA = \
|
|
|
|
images/build_menu_commands_dialog.png \
|
|
|
|
images/find_dialog.png \
|
|
|
|
images/find_in_files_dialog.png \
|
|
|
|
images/main_window.png \
|
|
|
|
images/pref_dialog_edit_completions.png \
|
|
|
|
images/pref_dialog_edit_display.png \
|
|
|
|
images/pref_dialog_edit_features.png \
|
|
|
|
images/pref_dialog_edit_indentation.png \
|
|
|
|
images/pref_dialog_files.png \
|
|
|
|
images/pref_dialog_gen_misc.png \
|
|
|
|
images/pref_dialog_gen_startup.png \
|
|
|
|
images/pref_dialog_interface_interface.png \
|
|
|
|
images/pref_dialog_interface_notebook.png \
|
|
|
|
images/pref_dialog_interface_toolbar.png \
|
|
|
|
images/pref_dialog_keys.png \
|
|
|
|
images/pref_dialog_printing.png \
|
|
|
|
images/pref_dialog_templ.png \
|
|
|
|
images/pref_dialog_tools.png \
|
|
|
|
images/pref_dialog_various.png \
|
|
|
|
images/pref_dialog_vte.png \
|
|
|
|
images/replace_dialog.png
|
|
|
|
|
|
|
|
doc_DATA = \
|
|
|
|
$(top_srcdir)/AUTHORS \
|
|
|
|
$(top_srcdir)/ChangeLog \
|
|
|
|
$(top_srcdir)/COPYING \
|
|
|
|
$(top_srcdir)/NEWS \
|
|
|
|
$(top_srcdir)/README \
|
|
|
|
$(top_srcdir)/THANKS \
|
|
|
|
$(top_srcdir)/TODO
|
|
|
|
|
2008-06-09 17:43:48 +00:00
|
|
|
DOCDIR = $(DESTDIR)$(docdir)
|
2014-04-27 16:49:00 -07:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
geany.html \
|
|
|
|
geany.css \
|
|
|
|
geany.txt \
|
|
|
|
geany.1 \
|
|
|
|
plugins.dox \
|
|
|
|
pluginsymbols.c \
|
|
|
|
pluginsignals.c \
|
|
|
|
stash-example.c \
|
|
|
|
stash-gui-example.c \
|
2014-04-15 14:41:26 +02:00
|
|
|
makefile.win32
|
2005-11-22 12:26:26 +00:00
|
|
|
|
2014-04-27 16:49:00 -07:00
|
|
|
# HTML user manual and hacking file
|
|
|
|
if WITH_RST2HTML
|
|
|
|
|
|
|
|
geany.html: $(srcdir)/geany.css $(srcdir)/geany.txt
|
|
|
|
$(AM_V_GEN)$(RST2HTML) -stg --stylesheet=$(srcdir)/geany.css $(srcdir)/geany.txt $@
|
|
|
|
|
|
|
|
hacking.html: $(srcdir)/geany.css $(top_srcdir)/HACKING
|
|
|
|
$(AM_V_GEN)$(RST2HTML) -stg --stylesheet=$(srcdir)/geany.css $(top_srcdir)/HACKING $@
|
|
|
|
|
|
|
|
all-html-local: geany.html hacking.html
|
|
|
|
|
|
|
|
clean-html-local:
|
|
|
|
-rm -f hacking.html
|
|
|
|
# FIXME: why is the generated HTML manual checked-in to VCS?
|
|
|
|
# -rm -f geany.html
|
|
|
|
|
|
|
|
else
|
|
|
|
all-html-local:;
|
|
|
|
clean-html-local:;
|
|
|
|
endif
|
|
|
|
|
|
|
|
# PDF user manual
|
2014-04-28 17:04:46 +02:00
|
|
|
if WITH_RST2PDF
|
|
|
|
|
|
|
|
geany-$(VERSION).pdf: geany.txt
|
|
|
|
$(AM_V_GEN)$(RST2PDF) $(srcdir)/geany.txt -o $@
|
2014-04-27 16:49:00 -07:00
|
|
|
|
|
|
|
all-pdf-local: geany-$(VERSION).pdf
|
|
|
|
|
|
|
|
clean-pdf-local:
|
2014-04-28 17:04:46 +02:00
|
|
|
-rm -f geany-$(VERSION).pdf
|
2014-04-27 16:49:00 -07:00
|
|
|
|
|
|
|
else
|
|
|
|
all-pdf-local:;
|
|
|
|
clean-pdf-local:;
|
|
|
|
endif
|
2005-11-22 12:26:26 +00:00
|
|
|
|
2014-04-26 23:11:53 -07:00
|
|
|
# API Documentation
|
|
|
|
if WITH_DOXYGEN
|
|
|
|
|
|
|
|
doxygen_sources = \
|
|
|
|
$(srcdir)/*.[ch] \
|
2014-04-27 03:53:59 -07:00
|
|
|
$(srcdir)/*.dox \
|
2014-04-26 23:11:53 -07:00
|
|
|
$(top_srcdir)/src/*.[ch] \
|
|
|
|
$(top_srcdir)/plugins/geanyplugin.h \
|
|
|
|
$(top_srcdir)/plugins/geanyfunctions.h \
|
2014-04-27 03:06:07 -07:00
|
|
|
$(top_srcdir)/tagmanager/src/tm_source_file.[ch] \
|
|
|
|
$(top_srcdir)/tagmanager/src/tm_work_object.[ch] \
|
|
|
|
$(top_srcdir)/tagmanager/src/tm_workspace.[ch]
|
2014-04-26 23:11:53 -07:00
|
|
|
|
2014-04-27 18:41:36 +02:00
|
|
|
Doxyfile.stamp: Doxyfile $(doxygen_sources)
|
2014-04-27 18:37:59 +02:00
|
|
|
$(AM_V_GEN)$(DOXYGEN) Doxyfile && echo "" > $@
|
2014-04-26 23:11:53 -07:00
|
|
|
|
2014-04-27 16:49:00 -07:00
|
|
|
all-api-docs-local: Doxyfile.stamp
|
2014-04-26 23:11:53 -07:00
|
|
|
|
2014-04-27 16:49:00 -07:00
|
|
|
clean-api-docs-local:
|
2014-04-27 18:41:36 +02:00
|
|
|
-rm -rf reference/ Doxyfile.stamp
|
2014-04-26 23:11:53 -07:00
|
|
|
|
2014-04-27 16:49:00 -07:00
|
|
|
else
|
|
|
|
all-api-docs-local:;
|
|
|
|
clean-api-docs-local:;
|
2014-04-26 23:11:53 -07:00
|
|
|
endif
|
2008-02-17 18:00:42 +00:00
|
|
|
|
2014-04-27 16:49:00 -07:00
|
|
|
all-local: all-html-local all-pdf-local all-api-docs-local
|
|
|
|
clean-local: clean-html-local clean-pdf-local clean-api-docs-local
|
2005-11-22 12:26:26 +00:00
|
|
|
|
2006-02-14 21:56:34 +00:00
|
|
|
uninstall-local:
|
|
|
|
rm -rf $(DOCDIR);
|
|
|
|
|
2014-04-15 14:41:26 +02:00
|
|
|
# manually install some files under another name
|
2014-04-27 19:15:48 -07:00
|
|
|
install-data-local:
|
|
|
|
$(mkinstalldirs) $(DOCDIR)/html
|
|
|
|
$(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)/scintilla/License.txt $(DOCDIR)/ScintillaLicense.txt
|