[Rt-commit] r12864 - rt/branches/3.8-TESTING

elacour at bestpractical.com elacour at bestpractical.com
Wed Jun 4 10:59:19 EDT 2008


Author: elacour
Date: Wed Jun  4 10:58:56 2008
New Revision: 12864

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/Makefile.in

Log:
 r9192 at datura:  manu | 2008-06-04 16:58:18 +0200
 RT-Ticket: 5781
 RT-Status: resolved
 RT-Update: correspond
 
 Filter out .svn directories on "make install"
 


Modified: rt/branches/3.8-TESTING/Makefile.in
==============================================================================
--- rt/branches/3.8-TESTING/Makefile.in	(original)
+++ rt/branches/3.8-TESTING/Makefile.in	Wed Jun  4 10:58:56 2008
@@ -392,13 +392,13 @@
 # {{{ libs-install
 libs-install: 
 	[ -d $(DESTDIR)/$(RT_LIB_PATH) ] || mkdir -p $(DESTDIR)/$(RT_LIB_PATH)
-	-cp -rp lib/* $(DESTDIR)/$(RT_LIB_PATH)
+	-cd lib && find . -type d -name .svn -prune -o -type f -exec install -D {} $(DESTDIR)/$(RT_LIB_PATH)/{} \;
 # }}}
 
 # {{{ html-install
 html-install:
 	[ -d $(DESTDIR)/$(MASON_HTML_PATH) ] || mkdir -p $(DESTDIR)/$(MASON_HTML_PATH)
-	-cp -rp ./share/html/* $(DESTDIR)/$(MASON_HTML_PATH)
+	-cd share/html && find . -type d -name .svn -prune -o -type f -exec install -D {} $(DESTDIR)/$(MASON_HTML_PATH)/{} \;
 # }}}
 
 # {{{ doc-install
@@ -468,9 +468,9 @@
 
 # {{{ local-install
 local-install:
-	-cp -rp ./local/html/* $(DESTDIR)/$(MASON_LOCAL_HTML_PATH)
-	-cp -rp ./local/po/* $(DESTDIR)/$(LOCAL_LEXICON_PATH)
-	-cp -rp ./local/etc/* $(DESTDIR)/$(LOCAL_ETC_PATH)
+	-cd local/html && find . -type d -name .svn -prune -o -type f -exec install -D {} $(DESTDIR)/$(MASON_LOCAL_HTML_PATH)/{} \;
+	-cd local/po && find . -type d -name .svn -prune -o -type f -exec install -D {} $(DESTDIR)/$(LOCAL_LEXICON_PATH)/{} \;
+	-cd local/etc && find . -type d -name .svn -prune -o -type f -exec install -D {} $(DESTDIR)/$(LOCAL_ETC_PATH)/{} \;
 # }}}
 
 # {{{ Best Practical Build targets -- no user servicable parts inside


More information about the Rt-commit mailing list