[gtk+] Fix up makefile rules for parallel builds



commit 7756f499950cd77d6b8db70a8d49309c459c7cd2
Author: Alexander Larsson <alexl redhat com>
Date:   Mon Nov 28 09:12:28 2011 +0100

    Fix up makefile rules for parallel builds
    
    The gtkwin32css.h generation code used a temporary filename that was also
    used by some other files, which is racy. Use a unique one.

 gtk/Makefile.am |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 083252f..f082677 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -913,9 +913,9 @@ gtkmarshalers.c: @REBUILD@ gtkmarshalers.list
 gtkwin32css.h: stamp-gtkwin32css.h
 	@true
 stamp-gtkwin32css.h: @REBUILD@ gtk-win32.css
-	$(AWK) 'BEGIN { print "static const char *gtk_win32_default_css = " } { print "   \"" $$0 "\\n\""} END { print ";" }' < $(srcdir)/gtk-win32.css >> xgen-gmlh\
-	&& (cmp -s xgen-gmlh gtkwin32css.h || cp xgen-gmlh gtkwin32css.h) \
-	&& rm -f xgen-gmlh \
+	$(AWK) 'BEGIN { print "static const char *gtk_win32_default_css = " } { print "   \"" $$0 "\\n\""} END { print ";" }' < $(srcdir)/gtk-win32.css >> xgen-gw3c\
+	&& (cmp -s xgen-gw3c gtkwin32css.h || cp xgen-gw3c gtkwin32css.h) \
+	&& rm -f xgen-gw3c \
 	&& echo timestamp > $(@F)
 
 gtktypebuiltins.h: stamp-gtktypebuiltins.h



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]