Commit aef2d0c5 authored by Chun-wei Fan's avatar Chun-wei Fan

build/win32: Make "Install" Property Sheet Generation More Robust

List the files that are generated in the process to generate the
glib-install property sheets, so that we can use that list as a
depedency, as well as deleting those files in one shot after the
property sheet is generated, so we don't need to worry about those
in 'make distclean' or so.
parent b81f3ced
......@@ -12,6 +12,8 @@ GENERATED_ITEMS = \
glib-gen-srcs.props \
glib-install.props
MSVC10_HEADERS_LIST = glib.vs10.headers gobject.vs10.headers gio.vs10.headers
EXTRA_DIST = \
README.txt \
glib.sln \
......@@ -50,10 +52,8 @@ EXTRA_DIST = \
glib-gen-srcs.props.in \
$(GENERATED_ITEMS)
glib-install.props: $(top_srcdir)/build/win32/vs10/glib-install.propsin glib.vs10.headers gobject.vs10.headers gio.vs10.headers
glib-install.props: $(top_srcdir)/build/win32/vs10/glib-install.propsin $(MSVC10_HEADERS_LIST)
$(CPP) -P - <$(top_srcdir)/build/win32/vs10/glib-install.propsin >$@
rm glib.vs10.headers
rm gobject.vs10.headers
rm gio.vs10.headers
rm $(MSVC10_HEADERS_LIST)
DISTCLEANFILES = $(GENERATED_ITEMS)
......@@ -7,6 +7,8 @@ GENERATED_ITEMS = \
glib-gen-srcs.vsprops \
glib-install.vsprops
MSVC_HEADERS_LIST = glib.headers gobject.headers gio.headers
EXTRA_DIST = \
README.txt \
glib.sln \
......@@ -31,10 +33,8 @@ EXTRA_DIST = \
glib-install.vspropsin \
$(GENERATED_ITEMS)
glib-install.vsprops: $(top_srcdir)/build/win32/vs9/glib-install.vspropsin glib.headers gobject.headers gio.headers
glib-install.vsprops: $(top_srcdir)/build/win32/vs9/glib-install.vspropsin $(MSVC_HEADERS_LIST)
$(CPP) -P - <$(top_srcdir)/build/win32/vs9/glib-install.vspropsin >$@
rm glib.headers
rm gobject.headers
rm gio.headers
rm $(MSVC_HEADERS_LIST)
DISTCLEANFILES = $(GENERATED_ITEMS)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment