From: Wolfgang Bangerth Date: Wed, 27 Jan 2010 20:44:45 +0000 (+0000) Subject: Treat all directories in /examples with doxygen that have a doc/ subdirectory. X-Git-Tag: v8.0.0~6577 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc563257439946c8ed04d0a9aba1c7c02c489aad;p=dealii.git Treat all directories in /examples with doxygen that have a doc/ subdirectory. git-svn-id: https://svn.dealii.org/trunk@20465 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/doxygen/tutorial/Makefile b/deal.II/doc/doxygen/tutorial/Makefile index 55aa035a57..6678802935 100644 --- a/deal.II/doc/doxygen/tutorial/Makefile +++ b/deal.II/doc/doxygen/tutorial/Makefile @@ -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))