[Rt-commit] r14266 - rt/3.8/trunk
elacour at bestpractical.com
elacour at bestpractical.com
Fri Jul 18 10:04:28 EDT 2008
Author: elacour
Date: Fri Jul 18 10:04:18 2008
New Revision: 14266
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/Makefile.in
Log:
r10152 at datura: manu | 2008-07-18 16:04:05 +0200
Replace use of double {} in find statements by a "| while read" statement to
works with poor implementations of "find"
Modified: rt/3.8/trunk/Makefile.in
==============================================================================
--- rt/3.8/trunk/Makefile.in (original)
+++ rt/3.8/trunk/Makefile.in Fri Jul 18 10:04:18 2008
@@ -397,14 +397,18 @@
libs-install:
[ -d $(DESTDIR)$(RT_LIB_PATH) ] || $(INSTALL) -m 0755 -d $(DESTDIR)$(RT_LIB_PATH)
-cd lib && find . -type d -name .svn -prune -o -type d -exec $(INSTALL) -m 0755 -d $(DESTDIR)$(RT_LIB_PATH)/{} \;
- -cd lib && find . -type d -name .svn -prune -o -type f -exec $(INSTALL) -m 0644 {} $(DESTDIR)$(RT_LIB_PATH)/{} \;
+ -cd lib && find . -type d -name .svn -prune -o -type f -print | while read file ; do \
+ $(INSTALL) -m 0644 "$$file" "$(DESTDIR)$(RT_LIB_PATH)/$$file" ; \
+ done
# }}}
# {{{ html-install
html-install:
[ -d $(DESTDIR)$(MASON_HTML_PATH) ] || $(INSTALL) -m 0755 -d $(DESTDIR)$(MASON_HTML_PATH)
-cd share/html && find . -type d -name .svn -prune -o -type d -exec $(INSTALL) -m 0755 -d $(DESTDIR)$(MASON_HTML_PATH)/{} \;
- -cd share/html && find . -type d -name .svn -prune -o -type f -exec $(INSTALL) -m 0644 {} $(DESTDIR)$(MASON_HTML_PATH)/{} \;
+ -cd share/html && find . -type d -name .svn -prune -o -type f -print | while read file ; do \
+ $(INSTALL) -m 0644 "$$file" "$(DESTDIR)$(MASON_HTML_PATH)/$$file" ; \
+ done
# }}}
# {{{ doc-install
@@ -439,11 +443,17 @@
# {{{ local-install
local-install:
-cd local/html && find . -type d -name .svn -prune -o -type d -exec $(INSTALL) -m 0755 -d $(DESTDIR)$(MASON_LOCAL_HTML_PATH)/{} \;
- -cd local/html && find . -type d -name .svn -prune -o -type f -exec $(INSTALL) -m 0644 {} $(DESTDIR)$(MASON_LOCAL_HTML_PATH)/{} \;
+ -cd local/html && find . -type d -name .svn -prune -o -type f -print | while read file ; do \
+ $(INSTALL) -m 0644 "$$file" "$(DESTDIR)$(MASON_LOCAL_HTML_PATH)/$$file" ; \
+ done
-cd local/po && find . -type d -name .svn -prune -o -type d -exec $(INSTALL) -m 0755 -d $(DESTDIR)$(LOCAL_LEXICON_PATH)/{} \;
- -cd local/po && find . -type d -name .svn -prune -o -type f -exec $(INSTALL) -m 0644 {} $(DESTDIR)$(LOCAL_LEXICON_PATH)/{} \;
+ -cd local/po && find . -type d -name .svn -prune -o -type f -print | while read file ; do \
+ $(INSTALL) -m 0644 "$$file" "$(DESTDIR)$(LOCAL_LEXICON_PATH)/$$file" ; \
+ done
-cd local/etc && find . -type d -name .svn -prune -o -type d -exec $(INSTALL) -m 0755 -d $(DESTDIR)$(LOCAL_ETC_PATH)/{} \;
- -cd local/etc && find . -type d -name .svn -prune -o -type f -exec $(INSTALL) -m 0644 {} $(DESTDIR)$(LOCAL_ETC_PATH)/{} \;
+ -cd local/etc && find . -type d -name .svn -prune -o -type f -print | while read file ; do \
+ $(INSTALL) -m 0644 "$$file" "$(DESTDIR)$(LOCAL_ETC_PATH)/$$file" ; \
+ done
# }}}
# {{{ Best Practical Build targets -- no user servicable parts inside
More information about the Rt-commit
mailing list