--- fixlafiles.awk.orig 2005-04-27 12:49:51.000000000 +0200 +++ fixlafiles.awk 2005-04-27 13:46:35.000000000 +0200 @@ -181,6 +181,9 @@ if ((OLDVER == NEWVER) && (OLDCHOST == "")) exit 0 + # This is a counter for the array of modified .la files + CHANGED_COUNT = 0 + # # Ok, now let's scan for the .la files and actually fix them up # @@ -298,6 +301,7 @@ if (CHANGED) print "]" + CHANGED_FILES[++CHANGED_COUNT] = la_files close(la_files) close(la_files ".new") @@ -309,6 +313,18 @@ close(pipe) } + + # + # Now, record the updated .la files mtime/md5 in their package CONTENTS + # + if (CHANGED_COUNT) + einfo("Updating CONTENTS of packages owning the modified .la files") + pipe = "fix_contents -q -s" + for (x = CHANGED_COUNT; x > 0; x--) { + print CHANGED_FILES[x] | pipe + } + close(pipe) + } # vim:ts=4