]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Treat all directories in /examples with doxygen that have a doc/ subdirectory.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 27 Jan 2010 20:44:45 +0000 (20:44 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 27 Jan 2010 20:44:45 +0000 (20:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@20465 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/doxygen/tutorial/Makefile

index 55aa035a57e09c2ddb879a401e87b95e4155f67b..66788029353b8896e313200dd5784c93ca1c812c 100644 (file)
@@ -4,11 +4,13 @@
 # include paths and global variables
 include ../../../common/Make.global_options
 
-# plain names of those files that we shall treat
-example-names = $(notdir $(shell echo $D/examples/step-? \
-                                      $D/examples/step-?? ; \
-                                if test -d $D/examples/MADDs-1 ; then \
-                                       echo $D/examples/MADDs-* ; fi))
+# plain names of those files that we shall treat. simply take all those
+# directories in examples/ that have a /doc subdirectory
+example-names = $(subst $D/examples/,,    \
+                        $(subst /doc,,    \
+                                $(shell echo $D/examples/*/doc)))
+
+
 
 # prefix names for generated intermediate files
 gen-example-names = $(addprefix generated/, $(example-names))

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.