]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Sort list of include files for better readability.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 9 Mar 2000 15:12:03 +0000 (15:12 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 9 Mar 2000 15:12:03 +0000 (15:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@2572 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/scripts/make_dependencies.pl

index ae879bb79306892ba0809ac0a701a75db51ae07c..f657e9c5dbc7cb874563bb420e8426a7f4e31d17 100644 (file)
@@ -64,10 +64,12 @@ foreach $file (@input_files) {
     $basename = $1;
     $basename =~ s,^(.*/)?([^/]*),$2,g;
 
+    @include_file_list = sort (split (' ', $include_files{$file}));
+
     # write rule for the .o file
     print "lib/o/$basename.o:";
     print "\\\n    $file";
-    foreach $f (split (' ', $include_files{$file})) {
+    foreach $f (@include_file_list) {
        print "\\\n    $f";
     }
     print "\n";
@@ -75,7 +77,7 @@ foreach $file (@input_files) {
     # write rule for the .go file
     print "lib/go/$basename.go:";
     print "\\\n    $file";
-    foreach $f (split (' ', $include_files{$file})) {
+    foreach $f (@include_file_list) {
        print "\\\n    $f";
     }
     print "\n";

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.