From: wolf Date: Mon, 24 Jul 2000 13:37:07 +0000 (+0000) Subject: Exclude the forward declaration file from processing by kdoc. Reason: X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bed50121dddd8bed914015ebecb796708112f75;p=dealii-svn.git Exclude the forward declaration file from processing by kdoc. Reason: if kdoc saw a forward decl of something previously, it attaches docs to this node. this leads to problems if we have (erroneously) forward declared a class in a namespace or a local class, since then the output generated by kdoc will look like a global class, rather than from a local or namespaced class. git-svn-id: https://svn.dealii.org/trunk@3210 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/auto/kdoc/Makefile.in b/deal.II/doc/auto/kdoc/Makefile.in index 726c179417..391c05cb93 100644 --- a/deal.II/doc/auto/kdoc/Makefile.in +++ b/deal.II/doc/auto/kdoc/Makefile.in @@ -71,6 +71,9 @@ multigrid.kdoc: kdoc-installed multigrid-html-files multigrid-fix-files # how to make the output. let everything depend on kdoc being already # installed (we need to re-state this dependency here as we could # otherwise get problems when using parallel builds) +# +# note that when running kdoc, we discard the forward-declarations +# file as this brings kdoc into trouble base-html-files: kdoc-installed $(kdoc.base) lac-html-files: kdoc-installed $(kdoc.lac) grid-html-files: kdoc-installed $(kdoc.grid) @@ -80,7 +83,7 @@ multigrid-html-files: kdoc-installed $(kdoc.multigrid) %-html-files: @$(PERL) $(KDOCFLAGS) $(subst -html-files,,$@) \ --outputdir $(subst -html-files,,$@) \ - $(^:kdoc-installed=) + $(filter-out %forward_declarations.h, $(^:kdoc-installed=)) # now how to fix the files: