From 987124d41729088f9f857530bd8c67f68b0fe4ad Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Wed, 29 Jun 2016 16:23:38 +0200 Subject: [PATCH] autotools: Fix circular dependencies in doc/ when building in srcdir Don't use wildcards that can catch generated files. While at it, also avoid Doxygen picking up those generated files. --- doc/Doxyfile.in | 6 +++++- doc/Makefile.am | 7 +++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index 6d83977a1..952318699 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -788,7 +788,11 @@ WARN_LOGFILE = # Note: If this tag is empty the current directory is searched. INPUT = @top_srcdir@/src/ \ - @top_srcdir@/doc/ \ + @top_srcdir@/doc/plugins.dox \ + @top_srcdir@/doc/pluginsignals.c \ + @top_srcdir@/doc/pluginsymbols.c \ + @top_srcdir@/doc/stash-example.c \ + @top_srcdir@/doc/stash-gui-example.c \ @top_srcdir@/plugins/geanyplugin.h \ @top_srcdir@/tagmanager/src/tm_source_file.c \ @top_srcdir@/tagmanager/src/tm_source_file.h \ diff --git a/doc/Makefile.am b/doc/Makefile.am index 3c57960c6..08659b798 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -92,8 +92,11 @@ endif if WITH_DOXYGEN doxygen_sources = \ - $(srcdir)/*.[ch] \ - $(srcdir)/*.dox \ + $(srcdir)/plugins.dox \ + $(srcdir)/pluginsignals.c \ + $(srcdir)/pluginsymbols.c \ + $(srcdir)/stash-example.c \ + $(srcdir)/stash-gui-example.c \ $(top_srcdir)/src/*.[ch] \ $(top_srcdir)/plugins/geanyplugin.h \ $(top_srcdir)/tagmanager/src/tm_source_file.[ch] \ -- 2.11.4.GIT