[gobject-introspection] build: prevent warnings during dist/distcheck
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] build: prevent warnings during dist/distcheck
- Date: Wed, 9 Oct 2013 17:00:55 +0000 (UTC)
commit 0aa4c38b88145d1a218251a02c0b2be1270b7706
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date: Thu Sep 19 13:59:20 2013 +0200
build: prevent warnings during dist/distcheck
Make transforms tr '/' '\\' into tr '/' '\', leading to
tr: warning: an unescaped backslash at end of string is not portable
so double escape to make the warnings go away...
Makefile-msvcproj.am | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/Makefile-msvcproj.am b/Makefile-msvcproj.am
index a9eb88c..32b9314 100644
--- a/Makefile-msvcproj.am
+++ b/Makefile-msvcproj.am
@@ -5,7 +5,7 @@
# cmph (static lib) projects
# --------------------------
./build/win32/vs9/cmph.vcproj: $(top_srcdir)/build/win32/vs9/cmph.vcprojin
- for F in `echo $(libcmph_la_SOURCES) | tr '/' '\\'`; do \
+ for F in `echo $(libcmph_la_SOURCES) | tr '/' '\\\\'`; do \
case $$F in \
*.c) echo ' <File RelativePath="..\..\..\'$$F'" />' \
;; \
@@ -15,7 +15,7 @@
rm cmph.sourcefiles
./build/win32/vs10/cmph.vcxproj: $(top_srcdir)/build/win32/vs10/cmph.vcxprojin
- for F in `echo $(libcmph_la_SOURCES) | tr '/' '\\'`; do \
+ for F in `echo $(libcmph_la_SOURCES) | tr '/' '\\\\'`; do \
case $$F in \
*.c) echo ' <ClCompile Include="..\..\..\'$$F'" />' \
;; \
@@ -25,7 +25,7 @@
rm cmph.vs10.sourcefiles
./build/win32/vs10/cmph.vcxproj.filters: $(top_srcdir)/build/win32/vs10/cmph.vcxproj.filtersin
- for F in `echo $(libcmph_la_SOURCES) | tr '/' '\\'`; do \
+ for F in `echo $(libcmph_la_SOURCES) | tr '/' '\\\\'`; do \
case $$F in \
*.c) echo ' <ClCompile Include="..\..\..\'$$F'"><Filter>Sources</Filter></ClCompile>' \
;; \
@@ -38,7 +38,7 @@
# girepository DLL projects
# -------------------------
./build/win32/vs9/girepository.vcproj: $(top_srcdir)/build/win32/vs9/girepository.vcprojin
./build/win32/vs9/gir.vs9.install
- for F in `echo $(libgirepository_1_0_la_SOURCES) $(libgirepository_gthash_la_SOURCES) | tr '/' '\\'`;
do \
+ for F in `echo $(libgirepository_1_0_la_SOURCES) $(libgirepository_gthash_la_SOURCES) | tr '/'
'\\\\'`; do \
case $$F in \
*.c) echo ' <File RelativePath="..\..\..\'$$F'" />' \
;; \
@@ -48,7 +48,7 @@
rm girepository.sourcefiles
./build/win32/vs10/girepository.vcxproj: $(top_srcdir)/build/win32/vs10/girepository.vcxprojin
./build/win32/vs10/gir.vs10.install
- for F in `echo $(libgirepository_1_0_la_SOURCES) $(libgirepository_gthash_la_SOURCES) | tr '/' '\\'`;
do \
+ for F in `echo $(libgirepository_1_0_la_SOURCES) $(libgirepository_gthash_la_SOURCES) | tr '/'
'\\\\'`; do \
case $$F in \
*.c) echo ' <ClCompile Include="..\..\..\'$$F'" />' \
;; \
@@ -58,7 +58,7 @@
rm girepository.vs10.sourcefiles
./build/win32/vs10/girepository.vcxproj.filters:
$(top_srcdir)/build/win32/vs10/girepository.vcxproj.filtersin
- for F in `echo $(libgirepository_1_0_la_SOURCES) $(libgirepository_gthash_la_SOURCES) | tr '/' '\\'`;
do \
+ for F in `echo $(libgirepository_1_0_la_SOURCES) $(libgirepository_gthash_la_SOURCES) | tr '/'
'\\\\'`; do \
case $$F in \
*.c) echo ' <ClCompile Include="..\..\..\'$$F'"><Filter>Sources</Filter></ClCompile>' \
;; \
@@ -76,7 +76,7 @@
# here)
# ------------------------------------
./build/win32/vs9/g-ir-compiler.vcproj: $(top_srcdir)/build/win32/vs9/g-ir-compiler.vcprojin
- for F in `echo $(libgirepository_gthash_la_SOURCES) $(libgirepository_internals_la_SOURCES) | tr '/'
'\\'`; do \
+ for F in `echo $(libgirepository_gthash_la_SOURCES) $(libgirepository_internals_la_SOURCES) | tr '/'
'\\\\'`; do \
case $$F in \
*.c) echo ' <File RelativePath="..\..\..\'$$F'" />' \
;; \
@@ -86,7 +86,7 @@
rm g-ir-compiler.sourcefiles
./build/win32/vs10/g-ir-compiler.vcxproj: $(top_srcdir)/build/win32/vs10/g-ir-compiler.vcxprojin
- for F in `echo $(libgirepository_gthash_la_SOURCES) $(libgirepository_internals_la_SOURCES) | tr '/'
'\\'`; do \
+ for F in `echo $(libgirepository_gthash_la_SOURCES) $(libgirepository_internals_la_SOURCES) | tr '/'
'\\\\'`; do \
case $$F in \
*.c) echo ' <ClCompile Include="..\..\..\'$$F'" />' \
;; \
@@ -96,7 +96,7 @@
rm g-ir-compiler.vs10.sourcefiles
./build/win32/vs10/g-ir-compiler.vcxproj.filters:
$(top_srcdir)/build/win32/vs10/g-ir-compiler.vcxproj.filtersin
- for F in `echo $(libgirepository_gthash_la_SOURCES) $(libgirepository_internals_la_SOURCES) | tr '/'
'\\'`; do \
+ for F in `echo $(libgirepository_gthash_la_SOURCES) $(libgirepository_internals_la_SOURCES) | tr '/'
'\\\\'`; do \
case $$F in \
*.c) echo ' <ClCompile Include="..\..\..\'$$F'"><Filter>Sources</Filter></ClCompile>' \
;; \
@@ -112,7 +112,7 @@
./build/win32/vs9/gir.vs9.install:
echo 'mkdir $$(CopyDir)\include\gobject-introspection-$$(GIApiVersion)\girepository
'
./build/win32/vs9/gir.vs9.install
echo '' >>./build/win32/vs9/gir.vs9.install
- for F in `echo $(girepo_HEADERS) | tr '/' '\\'`; do \
+ for F in `echo $(girepo_HEADERS) | tr '/' '\\\\'`; do \
case $$F in \
*.h) echo 'copy ..\..\..\'$$F'
$$(CopyDir)\include\gobject-introspection-$$(GIApiVersion)\girepository
' \
;; \
@@ -126,7 +126,7 @@
echo 'mkdir $$(CopyDir)\lib\gobject-introspection\giscanner\doctemplates\Gjs
'
./build/win32/vs9/gir.vs9.install
echo 'mkdir $$(CopyDir)\lib\gobject-introspection\giscanner\doctemplates\Python
'
./build/win32/vs9/gir.vs9.install
echo '' >>./build/win32/vs9/gir.vs9.install
- for F in `echo $(pkgpyexec_PYTHON) $(collections_PYTHON) $(nobase_dist_template_DATA) | tr '/' '\\'`;
do \
+ for F in `echo $(pkgpyexec_PYTHON) $(collections_PYTHON) $(nobase_dist_template_DATA) | tr '/'
'\\\\'`; do \
case $$F in \
giscanner\\doctemplates\\C\\*.tmpl) echo 'copy ..\..\..\'$$F'
$$(CopyDir)\lib\gobject-introspection\giscanner\doctemplates\C
' \
;; \
@@ -146,7 +146,7 @@
./build/win32/vs10/gir.vs10.install:
echo 'mkdir $$(CopyDir)\include\gobject-introspection-$$(GIApiVersion)\girepository'
./build/win32/vs10/gir.vs10.install
echo '' >>./build/win32/vs10/gir.vs10.install
- for F in `echo $(girepo_HEADERS) | tr '/' '\\'`; do \
+ for F in `echo $(girepo_HEADERS) | tr '/' '\\\\'`; do \
case $$F in \
*.h) echo 'copy ..\..\..\'$$F'
$$(CopyDir)\include\gobject-introspection-$$(GIApiVersion)\girepository' && \
echo '' \
@@ -160,7 +160,7 @@
echo 'mkdir $$(CopyDir)\lib\gobject-introspection\giscanner\doctemplates\Gjs'
./build/win32/vs10/gir.vs10.install
echo 'mkdir $$(CopyDir)\lib\gobject-introspection\giscanner\doctemplates\Python'
./build/win32/vs10/gir.vs10.install
echo '' >>./build/win32/vs10/gir.vs10.install
- for F in `echo $(pkgpyexec_PYTHON) $(collections_PYTHON) $(nobase_dist_template_DATA) | tr '/' '\\'`;
do \
+ for F in `echo $(pkgpyexec_PYTHON) $(collections_PYTHON) $(nobase_dist_template_DATA) | tr '/'
'\\\\'`; do \
case $$F in \
giscanner\\doctemplates\\C\\*.tmpl) echo 'copy ..\..\..\'$$F'
$$(CopyDir)\lib\gobject-introspection\giscanner\doctemplates\C' \
;; \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]