[Libreoffice-commits] .: solenv/gbuild

Caolán McNamara caolan at kemper.freedesktop.org
Fri Aug 26 03:06:47 PDT 2011


 solenv/gbuild/filter-showIncludes.pl |   10 ++++++++++
 1 file changed, 10 insertions(+)

New commits:
commit 797caeb095848b6b6936c22d5b0409da7810fbba
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Aug 26 11:06:35 2011 +0100

    Resolves: fdo#40099 don't break incremental msvc builds on removed headers

diff --git a/solenv/gbuild/filter-showIncludes.pl b/solenv/gbuild/filter-showIncludes.pl
index f72a9eb..ee9a34b 100755
--- a/solenv/gbuild/filter-showIncludes.pl
+++ b/solenv/gbuild/filter-showIncludes.pl
@@ -57,6 +57,16 @@ while ( <STDIN> ) {
 }
 
 print OUT "\n";
+
+# fdo#40099 if header.h does not exist, it will simply be considered out of
+# date and any targets that use it as a prerequisite will be updated,
+# which avoid misery when the header is deliberately deleted and removed
+# as an include
+# see http://www.makelinux.net/make3/make3-CHP-8-SECT-3
+foreach my $key ( keys %seen ) {
+  print OUT "\n$key:\n";
+}
+
 close( OUT ) or die "Cannot close $outfile.";
 
 # vim: shiftwidth=4 softtabstop=4 expandtab:


More information about the Libreoffice-commits mailing list