[pango/1.28: 2/4] Remove the .vcproj files before rewriting them



commit d2be51b19cc4ff2f49ee56ca42782f1c1e57fe2c
Author: Tor Lillqvist <tml iki fi>
Date:   Tue Mar 30 10:28:51 2010 +0300

    Remove the .vcproj files before rewriting them
    
    In case they are write protected for some reason. Might help Behdad's
    problem with make dist.

 pango/Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pango/Makefile.am b/pango/Makefile.am
index ce3d0b7..37510fa 100644
--- a/pango/Makefile.am
+++ b/pango/Makefile.am
@@ -645,6 +645,7 @@ dist-hook: \
 # pangowin32.vcproj is not automatically built, it is not being changed
 
 ../build/win32/vs9/pango.vcproj: $(top_srcdir)/build/win32/vs9/pango.vcprojin mini-fribidi/libmini-fribidi.sourcefiles
+	-rm $@
 	for F in $(libpango_1_0_la_SOURCES); do \
 		case $$F in \
 		*.c) echo '   <File RelativePath="..\..\..\pango\'$$F'" />' \
@@ -654,6 +655,7 @@ dist-hook: \
 	$(CPP) -P - <$(top_srcdir)/build/win32/vs9/pango.vcprojin >$@
 
 ../build/win32/vs9/pangoft2.vcproj: $(top_srcdir)/build/win32/vs9/pangoft2.vcprojin opentype/libharfbuzz.sourcefiles
+	-rm $@
 	for F in $(libpangoft2_1_0_la_SOURCES); do \
 		case $$F in \
 		*.c) echo '   <File RelativePath="..\..\..\pango\'$$F'" />' \
@@ -665,6 +667,7 @@ dist-hook: \
 ../build/win32/vs9/pangocairo.vcproj: $(top_srcdir)/build/win32/vs9/pangocairo.vcprojin
 # Backend-specific sources for the libpangocairo DLL are explicitly
 # listed in the vcprojin file
+	-rm $@
 	for F in $(pangocairo_core_sources); do \
 		case $$F in \
 		*.c) echo '   <File RelativePath="..\..\..\pango\'$$F'" />' \



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