summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2010-03-30 10:28:51 +0300
committerBehdad Esfahbod <behdad@behdad.org>2010-03-30 15:11:18 -0400
commitd2be51b19cc4ff2f49ee56ca42782f1c1e57fe2c (patch)
tree6a3d94c54ae44f81348fa1daa3be1db974ddeedd
parent3ca16ae22be9c1012651f5fdd775f75f5e887033 (diff)
downloadpango-d2be51b19cc4ff2f49ee56ca42782f1c1e57fe2c.tar.gz
Remove the .vcproj files before rewriting them
In case they are write protected for some reason. Might help Behdad's problem with make dist.
-rw-r--r--pango/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/Makefile.am b/pango/Makefile.am
index ce3d0b77..37510fa0 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'" />' \