[libcroco] build: Ensure croco[.vs10].headers is removed



commit 60fcbef051e30acb8ab766299c27eb2fe7063d33
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Sat Oct 31 00:53:31 2015 +0800

    build: Ensure croco[.vs10].headers is removed
    
    croco[.vs10].headers are intermediate files that is generated during 'make
    dist' that outght to be removed upon the completion of 'make dist', so
    ensure that it is so.

 build/win32/vs10/Makefile.am |    6 +++---
 build/win32/vs9/Makefile.am  |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/build/win32/vs10/Makefile.am b/build/win32/vs10/Makefile.am
index 42c87ba..a102242 100644
--- a/build/win32/vs10/Makefile.am
+++ b/build/win32/vs10/Makefile.am
@@ -35,9 +35,9 @@ EXTRA_DIST = \
        croco-version-paths.props.in    \
        $(GENERATED_ITEMS)
 
-croco-install.props: $(top_srcdir)/build/win32/vs10/croco-install.propsin
-       $(CPP) -P - <$< > $@
-       -rm croco.vs10.headers
+croco-install.props: $(top_srcdir)/build/win32/vs10/croco-install.propsin croco.vs10.headers
+       $(CPP) -P - <$(top_srcdir)/build/win32/vs10/croco-install.propsin > $@
+       rm croco.vs10.headers
 
 DISTCLEANFILES = $(GENERATED_ITEMS)
 
diff --git a/build/win32/vs9/Makefile.am b/build/win32/vs9/Makefile.am
index 7e42a9a..9de2db8 100644
--- a/build/win32/vs9/Makefile.am
+++ b/build/win32/vs9/Makefile.am
@@ -32,8 +32,8 @@ EXTRA_DIST = \
        croco-version-paths.vsprops.in  \
        $(GENERATED_ITEMS)
 
-croco-install.vsprops: $(top_srcdir)/build/win32/vs9/croco-install.vspropsin
-       $(CPP) -P -<$< >$@
-       -rm croco.headers
+croco-install.vsprops: $(top_srcdir)/build/win32/vs9/croco-install.vspropsin croco.headers
+       $(CPP) -P - <$(top_srcdir)/build/win32/vs9/croco-install.vspropsin >$@
+       rm croco.headers
 
 DISTCLEANFILES = $(GENERATED_ITEMS)


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