]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Also generate the dependency graph from files in the doc/ directories.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 21 Jun 2010 19:42:44 +0000 (19:42 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 21 Jun 2010 19:42:44 +0000 (19:42 +0000)
git-svn-id: https://svn.dealii.org/trunk@21260 0785d39b-7218-0410-832d-ea1e28bc413d

36 files changed:
deal.II/doc/doxygen/tutorial/steps.pl
deal.II/examples/step-1/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-10/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-11/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-12/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-13/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-14/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-15/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-16/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-17/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-18/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-19/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-2/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-20/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-21/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-22/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-23/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-24/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-25/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-27/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-28/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-29/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-3/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-30/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-31/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-33/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-34/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-35/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-36/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-39/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-4/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-5/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-6/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-7/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-8/doc/builds-on [new file with mode: 0644]
deal.II/examples/step-9/doc/builds-on [new file with mode: 0644]

index 164ac458688254510487c7c5f431858c18bf3107..debb434392c0378d69f7a05f988ca059d5ddeaf9 100644 (file)
@@ -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 = <KF>;
@@ -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 = <BF>;
+    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 (file)
index 0000000..8b13789
--- /dev/null
@@ -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 (file)
index 0000000..48a0f73
--- /dev/null
@@ -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 (file)
index 0000000..9cf5899
--- /dev/null
@@ -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 (file)
index 0000000..ab106ec
--- /dev/null
@@ -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 (file)
index 0000000..1740273
--- /dev/null
@@ -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 (file)
index 0000000..342762d
--- /dev/null
@@ -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 (file)
index 0000000..48a0f73
--- /dev/null
@@ -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 (file)
index 0000000..1740273
--- /dev/null
@@ -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 (file)
index 0000000..850b582
--- /dev/null
@@ -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 (file)
index 0000000..e820585
--- /dev/null
@@ -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 (file)
index 0000000..8b13789
--- /dev/null
@@ -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 (file)
index 0000000..4512741
--- /dev/null
@@ -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 (file)
index 0000000..48a0f73
--- /dev/null
@@ -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 (file)
index 0000000..9391e30
--- /dev/null
@@ -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 (file)
index 0000000..bab7a7c
--- /dev/null
@@ -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 (file)
index 0000000..48a0f73
--- /dev/null
@@ -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 (file)
index 0000000..f7adc18
--- /dev/null
@@ -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 (file)
index 0000000..d00969b
--- /dev/null
@@ -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 (file)
index 0000000..1740273
--- /dev/null
@@ -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 (file)
index 0000000..1740273
--- /dev/null
@@ -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 (file)
index 0000000..48a0f73
--- /dev/null
@@ -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 (file)
index 0000000..6290b8e
--- /dev/null
@@ -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 (file)
index 0000000..20c3064
--- /dev/null
@@ -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 (file)
index 0000000..80dd13d
--- /dev/null
@@ -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 (file)
index 0000000..20c3064
--- /dev/null
@@ -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 (file)
index 0000000..48a0f73
--- /dev/null
@@ -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 (file)
index 0000000..80dd13d
--- /dev/null
@@ -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 (file)
index 0000000..48a0f73
--- /dev/null
@@ -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 (file)
index 0000000..7167d6a
--- /dev/null
@@ -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 (file)
index 0000000..9406e4b
--- /dev/null
@@ -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 (file)
index 0000000..48a0f73
--- /dev/null
@@ -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 (file)
index 0000000..9fdd726
--- /dev/null
@@ -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 (file)
index 0000000..1740273
--- /dev/null
@@ -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 (file)
index 0000000..1740273
--- /dev/null
@@ -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 (file)
index 0000000..1740273
--- /dev/null
@@ -0,0 +1 @@
+step-6

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.