You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2010/02/10 11:06:18 UTC

svn commit: r908429 - /apr/apr/branches/1.4.x/build/gen-build.py

Author: jorton
Date: Wed Feb 10 10:06:17 2010
New Revision: 908429

URL: http://svn.apache.org/viewvc?rev=908429&view=rev
Log:
Merge r908427 from trunk:

* build/gen-build.py: Sort lists so that the generated
  build-outputs.mk is easy to diff across releases.
  (Cosmetic change only; no functional difference)

Modified:
    apr/apr/branches/1.4.x/build/gen-build.py

Modified: apr/apr/branches/1.4.x/build/gen-build.py
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/build/gen-build.py?rev=908429&r1=908428&r2=908429&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/build/gen-build.py (original)
+++ apr/apr/branches/1.4.x/build/gen-build.py Wed Feb 10 10:06:17 2010
@@ -111,12 +111,16 @@
 
       symname = 'OBJECTS_%s_%s' % (subdir, platform)
 
+      objects.sort()
+
       # and write the symbol for the whole group
       f.write('\n%s = %s\n\n' % (symname, string.join(objects)))
 
       # and include that symbol in the group
       group.append('$(%s)' % symname)
 
+    group.sort()
+
     # write out a symbol which contains the necessary files
     f.write('OBJECTS_%s = %s\n\n' % (platform, string.join(group)))
 
@@ -176,7 +180,9 @@
     for hdr in deps.keys():
       deps.update(h_deps.get(hdr, {}))
 
-    f.write('%s: %s .make.dirs %s\n' % (obj, file, string.join(deps.values())))
+    f.write('%s: %s .make.dirs %s\n' % (obj, file, string.join(sorted(deps.values()))))
+
+  objects.sort()
 
   return objects, dirs
 
@@ -214,6 +220,7 @@
   files = [ ]
   for pat in string.split(patterns):
     files.extend(map(clean_path, glob.glob(pat)))
+  files.sort()
   return files