From 8e331ee5b7e70f8d4d71d781bc8406ed22d70e63 Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 27 Jan 2010 20:44:45 +0000 Subject: [PATCH] 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 --- deal.II/doc/doxygen/tutorial/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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)) -- 2.39.5