From: Wolfgang Bangerth Date: Wed, 28 Oct 2009 06:39:49 +0000 (+0000) Subject: Order targets properly. X-Git-Tag: v8.0.0~6869 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa58286478a0d843f132b32bf040258209fef084;p=dealii.git Order targets properly. git-svn-id: https://svn.dealii.org/trunk@20003 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/doxygen/tutorial/Makefile b/deal.II/doc/doxygen/tutorial/Makefile index 91b6ae13ac..25f2d6b96f 100644 --- a/deal.II/doc/doxygen/tutorial/Makefile +++ b/deal.II/doc/doxygen/tutorial/Makefile @@ -28,8 +28,14 @@ example-dox-plain = $(addsuffix _plain.dox,$(gen-example-names)) example-doxygen = $(addprefix doxygen/,$(addsuffix .h,$(example-names))) -# generate dot file +# a makefile command that extracts the base name of a program +get_basename = $(shell echo $(1) | $(PERL) -pi -e 's/(generated|doxygen).//g; s/\..*//g; s/_(prog|plain|toc.*)//g;') + + +all: $(example-doxygen) steps.png + +# generate dot file steps.dot: steps.pl perl $< > $@ steps.png: steps.dot @@ -38,14 +44,6 @@ steps.png: steps.dot @mv steps.dot.imap steps.imap -# a makefile command that extracts the base name of a program -get_basename = $(shell echo $(1) | $(PERL) -pi -e 's/(generated|doxygen).//g; s/\..*//g; s/_(prog|plain|toc.*)//g;') - - - -all: $(example-doxygen) - - $(example-toc-prog): @echo ================== Making $@ @cat $D/examples/$(call get_basename, $@)/*.cc \