forked from AuroraMiddleware/gtk
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'.
This commit is contained in:
parent
86c75f36ed
commit
975e1cc41c
@ -20,12 +20,14 @@ GENERATED_ITEMS = \
|
|||||||
gailutil-3.vcxproj \
|
gailutil-3.vcxproj \
|
||||||
gailutil-3.vcxproj.filters \
|
gailutil-3.vcxproj.filters \
|
||||||
gtk3-install.props \
|
gtk3-install.props \
|
||||||
gtk3-version-paths.props \
|
gtk3-version-paths.props
|
||||||
gdk3-broadway.vs10.headers \
|
|
||||||
gdk-3.vs10.headers \
|
MSVC10_HEADERS_LISTS = \
|
||||||
gtk-3.vs10.headers \
|
gdk3-win32.vs10.headers \
|
||||||
gailutil-3.vs10.headers \
|
gdk3-broadway.vs10.headers \
|
||||||
gdk3-win32.vs10.headers
|
gdk-3.vs10.headers \
|
||||||
|
gtk-3.vs10.headers \
|
||||||
|
gailutil-3.vs10.headers
|
||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
README.txt \
|
README.txt \
|
||||||
@ -60,12 +62,8 @@ EXTRA_DIST += \
|
|||||||
gtk3-version-paths.props.in \
|
gtk3-version-paths.props.in \
|
||||||
$(GENERATED_ITEMS)
|
$(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 >$@
|
$(CPP) -P - <$(top_srcdir)/build/win32/vs10/gtk3-install.propsin >$@
|
||||||
rm gdk-3.vs10.headers
|
rm $(MSVC10_HEADERS_LISTS)
|
||||||
rm gdk3-win32.vs10.headers
|
|
||||||
rm gdk3-broadway.vs10.headers
|
|
||||||
rm gtk-3.vs10.headers
|
|
||||||
rm gailutil-3.vs10.headers
|
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
include $(top_srcdir)/Makefile.decl
|
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 = \
|
GENERATED_ITEMS = \
|
||||||
gdk3-win32.vcproj \
|
gdk3-win32.vcproj \
|
||||||
gdk3-broadway.vcproj \
|
gdk3-broadway.vcproj \
|
||||||
@ -11,12 +18,7 @@ GENERATED_ITEMS = \
|
|||||||
gtk3-icon-browser.vcproj \
|
gtk3-icon-browser.vcproj \
|
||||||
gailutil-3.vcproj \
|
gailutil-3.vcproj \
|
||||||
gtk3-install.vsprops \
|
gtk3-install.vsprops \
|
||||||
gtk3-version-paths.vsprops \
|
gtk3-version-paths.vsprops
|
||||||
gdk3-win32.headers \
|
|
||||||
gailutil-3.headers \
|
|
||||||
gdk-3.headers \
|
|
||||||
gdk3-broadway.headers \
|
|
||||||
gtk-3.headers
|
|
||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
README.txt \
|
README.txt \
|
||||||
@ -41,13 +43,9 @@ EXTRA_DIST += \
|
|||||||
gtk3-version-paths.vsprops.in \
|
gtk3-version-paths.vsprops.in \
|
||||||
$(GENERATED_ITEMS)
|
$(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 >$@
|
$(CPP) -P - <$(top_srcdir)/build/win32/vs9/gtk3-install.vspropsin >$@
|
||||||
rm gdk-3.headers
|
rm $(MSVC_HEADERS_LISTS)
|
||||||
rm gdk3-win32.headers
|
|
||||||
rm gdk3-broadway.headers
|
|
||||||
rm gtk-3.headers
|
|
||||||
rm gailutil-3.headers
|
|
||||||
|
|
||||||
DISTCLEANFILES = $(GENERATED_ITEMS)
|
DISTCLEANFILES = $(GENERATED_ITEMS)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user