From cd419f9b6256fba6225d2d05010976d9030ef42f Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 21 Jun 2010 19:42:44 +0000 Subject: [PATCH] Also generate the dependency graph from files in the doc/ directories. git-svn-id: https://svn.dealii.org/trunk@21260 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/doxygen/tutorial/steps.pl | 80 ++++++-------------------- deal.II/examples/step-1/doc/builds-on | 1 + deal.II/examples/step-10/doc/builds-on | 1 + deal.II/examples/step-11/doc/builds-on | 1 + deal.II/examples/step-12/doc/builds-on | 1 + deal.II/examples/step-13/doc/builds-on | 1 + deal.II/examples/step-14/doc/builds-on | 1 + deal.II/examples/step-15/doc/builds-on | 1 + deal.II/examples/step-16/doc/builds-on | 1 + deal.II/examples/step-17/doc/builds-on | 1 + deal.II/examples/step-18/doc/builds-on | 1 + deal.II/examples/step-19/doc/builds-on | 1 + deal.II/examples/step-2/doc/builds-on | 1 + deal.II/examples/step-20/doc/builds-on | 1 + deal.II/examples/step-21/doc/builds-on | 1 + deal.II/examples/step-22/doc/builds-on | 1 + deal.II/examples/step-23/doc/builds-on | 1 + deal.II/examples/step-24/doc/builds-on | 1 + deal.II/examples/step-25/doc/builds-on | 1 + deal.II/examples/step-27/doc/builds-on | 1 + deal.II/examples/step-28/doc/builds-on | 1 + deal.II/examples/step-29/doc/builds-on | 1 + deal.II/examples/step-3/doc/builds-on | 1 + deal.II/examples/step-30/doc/builds-on | 1 + deal.II/examples/step-31/doc/builds-on | 1 + deal.II/examples/step-33/doc/builds-on | 1 + deal.II/examples/step-34/doc/builds-on | 1 + deal.II/examples/step-35/doc/builds-on | 1 + deal.II/examples/step-36/doc/builds-on | 1 + deal.II/examples/step-39/doc/builds-on | 1 + deal.II/examples/step-4/doc/builds-on | 1 + deal.II/examples/step-5/doc/builds-on | 1 + deal.II/examples/step-6/doc/builds-on | 1 + deal.II/examples/step-7/doc/builds-on | 1 + deal.II/examples/step-8/doc/builds-on | 1 + deal.II/examples/step-9/doc/builds-on | 1 + 36 files changed, 54 insertions(+), 61 deletions(-) create mode 100644 deal.II/examples/step-1/doc/builds-on create mode 100644 deal.II/examples/step-10/doc/builds-on create mode 100644 deal.II/examples/step-11/doc/builds-on create mode 100644 deal.II/examples/step-12/doc/builds-on create mode 100644 deal.II/examples/step-13/doc/builds-on create mode 100644 deal.II/examples/step-14/doc/builds-on create mode 100644 deal.II/examples/step-15/doc/builds-on create mode 100644 deal.II/examples/step-16/doc/builds-on create mode 100644 deal.II/examples/step-17/doc/builds-on create mode 100644 deal.II/examples/step-18/doc/builds-on create mode 100644 deal.II/examples/step-19/doc/builds-on create mode 100644 deal.II/examples/step-2/doc/builds-on create mode 100644 deal.II/examples/step-20/doc/builds-on create mode 100644 deal.II/examples/step-21/doc/builds-on create mode 100644 deal.II/examples/step-22/doc/builds-on create mode 100644 deal.II/examples/step-23/doc/builds-on create mode 100644 deal.II/examples/step-24/doc/builds-on create mode 100644 deal.II/examples/step-25/doc/builds-on create mode 100644 deal.II/examples/step-27/doc/builds-on create mode 100644 deal.II/examples/step-28/doc/builds-on create mode 100644 deal.II/examples/step-29/doc/builds-on create mode 100644 deal.II/examples/step-3/doc/builds-on create mode 100644 deal.II/examples/step-30/doc/builds-on create mode 100644 deal.II/examples/step-31/doc/builds-on create mode 100644 deal.II/examples/step-33/doc/builds-on create mode 100644 deal.II/examples/step-34/doc/builds-on create mode 100644 deal.II/examples/step-35/doc/builds-on create mode 100644 deal.II/examples/step-36/doc/builds-on create mode 100644 deal.II/examples/step-39/doc/builds-on create mode 100644 deal.II/examples/step-4/doc/builds-on create mode 100644 deal.II/examples/step-5/doc/builds-on create mode 100644 deal.II/examples/step-6/doc/builds-on create mode 100644 deal.II/examples/step-7/doc/builds-on create mode 100644 deal.II/examples/step-8/doc/builds-on create mode 100644 deal.II/examples/step-9/doc/builds-on diff --git a/deal.II/doc/doxygen/tutorial/steps.pl b/deal.II/doc/doxygen/tutorial/steps.pl index 164ac45868..debb434392 100644 --- a/deal.II/doc/doxygen/tutorial/steps.pl +++ b/deal.II/doc/doxygen/tutorial/steps.pl @@ -59,8 +59,10 @@ foreach (@steps) close TF; chop $tooltip; - printf "Step%02d [label=\"$_\", URL=\"../deal.II/step_$_.html\", tooltip=\"$tooltip\"", $_; + printf "Step$_ [label=\"$_\", URL=\"../deal.II/step_$_.html\", tooltip=\"$tooltip\""; + + # read first line of 'kind' file open KF, "../../../examples/step-$_/doc/kind" or die "Can't open kind file step-$_/doc/kind"; my $kind = ; @@ -76,66 +78,22 @@ foreach (@steps) # Print all edges # Keep sorted by second node on edge! -print << 'EOT' - -Step01 -> Step02; -Step02 -> Step03; -Step03 -> Step04; -Step04 -> Step05; -Step05 -> Step06; - -Step06 -> Step07; -Step06 -> Step08; -Step06 -> Step09; - -Step04 -> Step10; -Step10 -> Step11; - -Step07 -> Step12; - -Step06 -> Step16; - -Step12 -> Step33; - -Step06 -> Step13; -Step13 -> Step14; - -Step04 -> Step15; - -Step08 -> Step17; -Step17 -> Step18; - -Step04 -> Step20; -Step20 -> Step21; - -Step06 -> Step22; -Step22 -> Step31; - -Step04 -> Step23; -Step23 -> Step24; -Step24 -> Step25; - -Step06 -> Step27; - -Step06 -> Step28; - -Step06 -> Step39; - -Step04 -> Step29; - -Step12 -> Step30; -Step12 -> Step39; - -Step04 -> Step34; - -Step21 -> Step22; -Step22 -> Step35; - -Step04 -> Step36; - -Step39 -> Step12; +my $target; +foreach $target (@steps) +{ + # read first line of dependency file + open BF, "../../../examples/step-$target/doc/builds-on" + or die "Can't open builds-on file step-$target/doc/builds-on"; + my $buildson = ; + close BF; + chop $buildson; + + my $source; + foreach $source (split ' ', $buildson) { + $source =~ s/step-/Step/g; + print "$source -> Step$target\n"; + } } -EOT - ; +print "}\n"; diff --git a/deal.II/examples/step-1/doc/builds-on b/deal.II/examples/step-1/doc/builds-on new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/deal.II/examples/step-1/doc/builds-on @@ -0,0 +1 @@ + diff --git a/deal.II/examples/step-10/doc/builds-on b/deal.II/examples/step-10/doc/builds-on new file mode 100644 index 0000000000..48a0f73876 --- /dev/null +++ b/deal.II/examples/step-10/doc/builds-on @@ -0,0 +1 @@ +step-4 diff --git a/deal.II/examples/step-11/doc/builds-on b/deal.II/examples/step-11/doc/builds-on new file mode 100644 index 0000000000..9cf5899fe5 --- /dev/null +++ b/deal.II/examples/step-11/doc/builds-on @@ -0,0 +1 @@ +step-10 diff --git a/deal.II/examples/step-12/doc/builds-on b/deal.II/examples/step-12/doc/builds-on new file mode 100644 index 0000000000..ab106ec4b1 --- /dev/null +++ b/deal.II/examples/step-12/doc/builds-on @@ -0,0 +1 @@ +step-7 step-39 diff --git a/deal.II/examples/step-13/doc/builds-on b/deal.II/examples/step-13/doc/builds-on new file mode 100644 index 0000000000..17402734c7 --- /dev/null +++ b/deal.II/examples/step-13/doc/builds-on @@ -0,0 +1 @@ +step-6 diff --git a/deal.II/examples/step-14/doc/builds-on b/deal.II/examples/step-14/doc/builds-on new file mode 100644 index 0000000000..342762d1cf --- /dev/null +++ b/deal.II/examples/step-14/doc/builds-on @@ -0,0 +1 @@ +step-13 diff --git a/deal.II/examples/step-15/doc/builds-on b/deal.II/examples/step-15/doc/builds-on new file mode 100644 index 0000000000..48a0f73876 --- /dev/null +++ b/deal.II/examples/step-15/doc/builds-on @@ -0,0 +1 @@ +step-4 diff --git a/deal.II/examples/step-16/doc/builds-on b/deal.II/examples/step-16/doc/builds-on new file mode 100644 index 0000000000..17402734c7 --- /dev/null +++ b/deal.II/examples/step-16/doc/builds-on @@ -0,0 +1 @@ +step-6 diff --git a/deal.II/examples/step-17/doc/builds-on b/deal.II/examples/step-17/doc/builds-on new file mode 100644 index 0000000000..850b582a69 --- /dev/null +++ b/deal.II/examples/step-17/doc/builds-on @@ -0,0 +1 @@ +step-8 diff --git a/deal.II/examples/step-18/doc/builds-on b/deal.II/examples/step-18/doc/builds-on new file mode 100644 index 0000000000..e820585ca6 --- /dev/null +++ b/deal.II/examples/step-18/doc/builds-on @@ -0,0 +1 @@ +step-17 diff --git a/deal.II/examples/step-19/doc/builds-on b/deal.II/examples/step-19/doc/builds-on new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/deal.II/examples/step-19/doc/builds-on @@ -0,0 +1 @@ + diff --git a/deal.II/examples/step-2/doc/builds-on b/deal.II/examples/step-2/doc/builds-on new file mode 100644 index 0000000000..4512741e57 --- /dev/null +++ b/deal.II/examples/step-2/doc/builds-on @@ -0,0 +1 @@ +step-1 diff --git a/deal.II/examples/step-20/doc/builds-on b/deal.II/examples/step-20/doc/builds-on new file mode 100644 index 0000000000..48a0f73876 --- /dev/null +++ b/deal.II/examples/step-20/doc/builds-on @@ -0,0 +1 @@ +step-4 diff --git a/deal.II/examples/step-21/doc/builds-on b/deal.II/examples/step-21/doc/builds-on new file mode 100644 index 0000000000..9391e3057a --- /dev/null +++ b/deal.II/examples/step-21/doc/builds-on @@ -0,0 +1 @@ +step-20 diff --git a/deal.II/examples/step-22/doc/builds-on b/deal.II/examples/step-22/doc/builds-on new file mode 100644 index 0000000000..bab7a7c7ec --- /dev/null +++ b/deal.II/examples/step-22/doc/builds-on @@ -0,0 +1 @@ +step-6 step-21 diff --git a/deal.II/examples/step-23/doc/builds-on b/deal.II/examples/step-23/doc/builds-on new file mode 100644 index 0000000000..48a0f73876 --- /dev/null +++ b/deal.II/examples/step-23/doc/builds-on @@ -0,0 +1 @@ +step-4 diff --git a/deal.II/examples/step-24/doc/builds-on b/deal.II/examples/step-24/doc/builds-on new file mode 100644 index 0000000000..f7adc1885e --- /dev/null +++ b/deal.II/examples/step-24/doc/builds-on @@ -0,0 +1 @@ +step-23 diff --git a/deal.II/examples/step-25/doc/builds-on b/deal.II/examples/step-25/doc/builds-on new file mode 100644 index 0000000000..d00969bb7f --- /dev/null +++ b/deal.II/examples/step-25/doc/builds-on @@ -0,0 +1 @@ +step-24 diff --git a/deal.II/examples/step-27/doc/builds-on b/deal.II/examples/step-27/doc/builds-on new file mode 100644 index 0000000000..17402734c7 --- /dev/null +++ b/deal.II/examples/step-27/doc/builds-on @@ -0,0 +1 @@ +step-6 diff --git a/deal.II/examples/step-28/doc/builds-on b/deal.II/examples/step-28/doc/builds-on new file mode 100644 index 0000000000..17402734c7 --- /dev/null +++ b/deal.II/examples/step-28/doc/builds-on @@ -0,0 +1 @@ +step-6 diff --git a/deal.II/examples/step-29/doc/builds-on b/deal.II/examples/step-29/doc/builds-on new file mode 100644 index 0000000000..48a0f73876 --- /dev/null +++ b/deal.II/examples/step-29/doc/builds-on @@ -0,0 +1 @@ +step-4 diff --git a/deal.II/examples/step-3/doc/builds-on b/deal.II/examples/step-3/doc/builds-on new file mode 100644 index 0000000000..6290b8e7b3 --- /dev/null +++ b/deal.II/examples/step-3/doc/builds-on @@ -0,0 +1 @@ +step-2 diff --git a/deal.II/examples/step-30/doc/builds-on b/deal.II/examples/step-30/doc/builds-on new file mode 100644 index 0000000000..20c3064395 --- /dev/null +++ b/deal.II/examples/step-30/doc/builds-on @@ -0,0 +1 @@ +step-12 diff --git a/deal.II/examples/step-31/doc/builds-on b/deal.II/examples/step-31/doc/builds-on new file mode 100644 index 0000000000..80dd13d17c --- /dev/null +++ b/deal.II/examples/step-31/doc/builds-on @@ -0,0 +1 @@ +step-22 diff --git a/deal.II/examples/step-33/doc/builds-on b/deal.II/examples/step-33/doc/builds-on new file mode 100644 index 0000000000..20c3064395 --- /dev/null +++ b/deal.II/examples/step-33/doc/builds-on @@ -0,0 +1 @@ +step-12 diff --git a/deal.II/examples/step-34/doc/builds-on b/deal.II/examples/step-34/doc/builds-on new file mode 100644 index 0000000000..48a0f73876 --- /dev/null +++ b/deal.II/examples/step-34/doc/builds-on @@ -0,0 +1 @@ +step-4 diff --git a/deal.II/examples/step-35/doc/builds-on b/deal.II/examples/step-35/doc/builds-on new file mode 100644 index 0000000000..80dd13d17c --- /dev/null +++ b/deal.II/examples/step-35/doc/builds-on @@ -0,0 +1 @@ +step-22 diff --git a/deal.II/examples/step-36/doc/builds-on b/deal.II/examples/step-36/doc/builds-on new file mode 100644 index 0000000000..48a0f73876 --- /dev/null +++ b/deal.II/examples/step-36/doc/builds-on @@ -0,0 +1 @@ +step-4 diff --git a/deal.II/examples/step-39/doc/builds-on b/deal.II/examples/step-39/doc/builds-on new file mode 100644 index 0000000000..7167d6a2ae --- /dev/null +++ b/deal.II/examples/step-39/doc/builds-on @@ -0,0 +1 @@ +step-6 step-12 diff --git a/deal.II/examples/step-4/doc/builds-on b/deal.II/examples/step-4/doc/builds-on new file mode 100644 index 0000000000..9406e4bf27 --- /dev/null +++ b/deal.II/examples/step-4/doc/builds-on @@ -0,0 +1 @@ +step-3 diff --git a/deal.II/examples/step-5/doc/builds-on b/deal.II/examples/step-5/doc/builds-on new file mode 100644 index 0000000000..48a0f73876 --- /dev/null +++ b/deal.II/examples/step-5/doc/builds-on @@ -0,0 +1 @@ +step-4 diff --git a/deal.II/examples/step-6/doc/builds-on b/deal.II/examples/step-6/doc/builds-on new file mode 100644 index 0000000000..9fdd726254 --- /dev/null +++ b/deal.II/examples/step-6/doc/builds-on @@ -0,0 +1 @@ +step-5 diff --git a/deal.II/examples/step-7/doc/builds-on b/deal.II/examples/step-7/doc/builds-on new file mode 100644 index 0000000000..17402734c7 --- /dev/null +++ b/deal.II/examples/step-7/doc/builds-on @@ -0,0 +1 @@ +step-6 diff --git a/deal.II/examples/step-8/doc/builds-on b/deal.II/examples/step-8/doc/builds-on new file mode 100644 index 0000000000..17402734c7 --- /dev/null +++ b/deal.II/examples/step-8/doc/builds-on @@ -0,0 +1 @@ +step-6 diff --git a/deal.II/examples/step-9/doc/builds-on b/deal.II/examples/step-9/doc/builds-on new file mode 100644 index 0000000000..17402734c7 --- /dev/null +++ b/deal.II/examples/step-9/doc/builds-on @@ -0,0 +1 @@ +step-6 -- 2.39.5