]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Exclude the forward declaration file from processing by kdoc. Reason:
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 24 Jul 2000 13:37:07 +0000 (13:37 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 24 Jul 2000 13:37:07 +0000 (13:37 +0000)
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

deal.II/doc/auto/kdoc/Makefile.in

index 726c1794176060126a5ed8abe835fc2f4afb46ec..391c05cb93002dcb8f441224b1d4d83e3eb54f45 100644 (file)
@@ -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:

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.