summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2015-09-23 18:31:22 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2015-09-23 18:31:22 +0800
commit975e1cc41c8fbb752991c269fbfe9569aebf996f (patch)
tree1b8cb1f28c14ab6876f44fde406ec1f0777f90db /build
parent86c75f36ed638add97f6050cf6d969911bea3491 (diff)
downloadgtk+-975e1cc41c8fbb752991c269fbfe9569aebf996f.tar.gz
build/win32: Fix 'make -jN dist'
The recent changes to build/win32/vs9|10/Makefile.am fixed 'make distclean' but broke 'make -jN dist', so fix that by listing the *.headers and using that list as a dependency and to remove those files in one single command right after we generate the gtk-install.vsprops template, so that we don't have to worry about them in 'make distclean'.
Diffstat (limited to 'build')
-rw-r--r--build/win32/vs10/Makefile.am22
-rw-r--r--build/win32/vs9/Makefile.am22
2 files changed, 20 insertions, 24 deletions
diff --git a/build/win32/vs10/Makefile.am b/build/win32/vs10/Makefile.am
index 9bc0e9b520..f67cda71a8 100644
--- a/build/win32/vs10/Makefile.am
+++ b/build/win32/vs10/Makefile.am
@@ -20,12 +20,14 @@ GENERATED_ITEMS = \
gailutil-3.vcxproj \
gailutil-3.vcxproj.filters \
gtk3-install.props \
- gtk3-version-paths.props \
- gdk3-broadway.vs10.headers \
- gdk-3.vs10.headers \
- gtk-3.vs10.headers \
- gailutil-3.vs10.headers \
- gdk3-win32.vs10.headers
+ gtk3-version-paths.props
+
+MSVC10_HEADERS_LISTS = \
+ gdk3-win32.vs10.headers \
+ gdk3-broadway.vs10.headers \
+ gdk-3.vs10.headers \
+ gtk-3.vs10.headers \
+ gailutil-3.vs10.headers
EXTRA_DIST += \
README.txt \
@@ -60,12 +62,8 @@ EXTRA_DIST += \
gtk3-version-paths.props.in \
$(GENERATED_ITEMS)
-gtk3-install.props: $(top_srcdir)/build/win32/vs10/gtk3-install.propsin
+gtk3-install.props: $(top_srcdir)/build/win32/vs10/gtk3-install.propsin $(MSVC10_HEADERS_LISTS)
$(CPP) -P - <$(top_srcdir)/build/win32/vs10/gtk3-install.propsin >$@
- rm gdk-3.vs10.headers
- rm gdk3-win32.vs10.headers
- rm gdk3-broadway.vs10.headers
- rm gtk-3.vs10.headers
- rm gailutil-3.vs10.headers
+ rm $(MSVC10_HEADERS_LISTS)
-include $(top_srcdir)/git.mk
diff --git a/build/win32/vs9/Makefile.am b/build/win32/vs9/Makefile.am
index 735d780cd3..20c89fb17e 100644
--- a/build/win32/vs9/Makefile.am
+++ b/build/win32/vs9/Makefile.am
@@ -1,5 +1,12 @@
include $(top_srcdir)/Makefile.decl
+MSVC_HEADERS_LISTS = \
+ gdk3-win32.headers \
+ gdk3-broadway.headers \
+ gdk-3.headers \
+ gtk-3.headers \
+ gailutil-3.headers
+
GENERATED_ITEMS = \
gdk3-win32.vcproj \
gdk3-broadway.vcproj \
@@ -11,12 +18,7 @@ GENERATED_ITEMS = \
gtk3-icon-browser.vcproj \
gailutil-3.vcproj \
gtk3-install.vsprops \
- gtk3-version-paths.vsprops \
- gdk3-win32.headers \
- gailutil-3.headers \
- gdk-3.headers \
- gdk3-broadway.headers \
- gtk-3.headers
+ gtk3-version-paths.vsprops
EXTRA_DIST += \
README.txt \
@@ -41,13 +43,9 @@ EXTRA_DIST += \
gtk3-version-paths.vsprops.in \
$(GENERATED_ITEMS)
-gtk3-install.vsprops: $(top_srcdir)/build/win32/vs9/gtk3-install.vspropsin
+gtk3-install.vsprops: $(top_srcdir)/build/win32/vs9/gtk3-install.vspropsin $(MSVC_HEADERS_LISTS)
$(CPP) -P - <$(top_srcdir)/build/win32/vs9/gtk3-install.vspropsin >$@
- rm gdk-3.headers
- rm gdk3-win32.headers
- rm gdk3-broadway.headers
- rm gtk-3.headers
- rm gailutil-3.headers
+ rm $(MSVC_HEADERS_LISTS)
DISTCLEANFILES = $(GENERATED_ITEMS)