From 695e38a139c664c9fb6c89c0aedcad7c64ebc495 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 9 Mar 2000 15:12:03 +0000 Subject: [PATCH] Sort list of include files for better readability. git-svn-id: https://svn.dealii.org/trunk@2572 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/common/scripts/make_dependencies.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deal.II/common/scripts/make_dependencies.pl b/deal.II/common/scripts/make_dependencies.pl index ae879bb793..f657e9c5db 100644 --- a/deal.II/common/scripts/make_dependencies.pl +++ b/deal.II/common/scripts/make_dependencies.pl @@ -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"; -- 2.39.5