[geany/geany] c5cefd: Use improved Doxygen Autotools support

Matthew Brush git-noreply at xxxxx
Sun Apr 27 06:29:43 UTC 2014


Branch:      refs/heads/master
Author:      Matthew Brush <matt at geany.org>
Committer:   Matthew Brush <matt at geany.org>
Date:        Sun, 27 Apr 2014 06:29:43 UTC
Commit:      c5cefd20df7743c30b07d9e75a405824db8f4fb8
             https://github.com/geany/geany/commit/c5cefd20df7743c30b07d9e75a405824db8f4fb8

Log Message:
-----------
Use improved Doxygen Autotools support


Modified Paths:
--------------
    .gitignore
    doc/Makefile.am

Modified: .gitignore
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -97,6 +97,7 @@ Makefile.in
 # /doc/
 #-----------------------------------------------------------------------
 /doc/Doxyfile
+/doc/Doxyfile.stamp
 /doc/geany.1
 /doc/hacking.html
 /doc/*.pdf


Modified: doc/Makefile.am
26 lines changed, 24 insertions(+), 2 deletions(-)
===================================================================
@@ -47,8 +47,30 @@ geany-$(VERSION).pdf: geany.txt
 	rm -f geany.tex geany.aux geany.log geany.out
 	mv geany.pdf $@
 
-api-doc: Doxyfile
-	doxygen
+# API Documentation
+if WITH_DOXYGEN
+
+doxygen_sources = \
+	$(srcdir)/*.[ch] \
+	$(top_srcdir)/src/*.[ch] \
+	$(top_srcdir)/plugins/geanyplugin.h \
+	$(top_srcdir)/plugins/geanyfunctions.h \
+	$(top_srcdir)/tagmanager/src/tm_source_file.c \
+	$(top_srcdir)/tagmanager/src/tm_source_file.h \
+	$(top_srcdir)/tagmanager/src/tm_work_object.c \
+	$(top_srcdir)/tagmanager/src/tm_work_object.h \
+	$(top_srcdir)/tagmanager/src/tm_workspace.c \
+	$(top_srcdir)/tagmanager/src/tm_workspace.h
+
+$(builddir)/Doxyfile.stamp: $(builddir)/Doxyfile $(doxygen_sources)
+	$(AM_V_GEN)$(DOXYGEN) $< && echo "" > $@
+
+all-local: $(builddir)/Doxyfile.stamp
+
+clean-local:
+	-rm -rf $(builddir)/reference/ $(builddir)/Doxyfile.stamp
+
+endif
 
 hacking.html: ../HACKING
 	rst2html -stg --stylesheet=$(srcdir)/geany.css $(srcdir)/../HACKING $@



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list