Index: mytharchive/mytharchive/mytharchive.pro
===================================================================
--- mytharchive/mytharchive/mytharchive.pro	(revision 21092)
+++ mytharchive/mytharchive/mytharchive.pro	(working copy)
@@ -27,6 +27,8 @@
 SOURCES += mythburn.cpp themeselector.cpp editmetadata.cpp thumbfinder.cpp
 SOURCES += exportnative.cpp importnative.cpp
 
+QMAKE_COPY_DIR = sh ../../cpsvndir
+
 burnuifiles.path = $${SYSROOT}$${PREFIX}/share/mythtv/themes/default
 burnuifiles.files = mythburn-ui.xml
 
Index: cpsvndir
===================================================================
--- cpsvndir	(revision 0)
+++ cpsvndir	(revision 0)
@@ -0,0 +1,31 @@
+#!/bin/sh
+#
+# cpsvndir: recursive directory copy excluding .svn sub dirs.
+
+
+if [ -z "$1" -o -z "$2" ]; then
+    echo "Usage: $0 source-dir destination-dir"
+    exit -1
+fi
+
+# Some shells don't set EUID
+if [ -z "$EUID" ]; then
+    if [ -x /usr/bin/id ]; then EUID=`id -u` ;fi
+    if [ -z "$EUID" ];     then EUID=$USER   ;fi
+    if [ -z "$EUID" ];     then EUID=0       ;fi  # Will fail if not root
+fi
+
+# Build directory structure
+IFS=$'\012'
+for directory in $(find "$1" -path '*/.svn' -prune -or -type d -print); do
+    mkdir -p "$2/${1##*/}/${directory/#$1}"
+done
+
+# Copy files
+for file in $(find "$1" -path '*/.svn' -prune -or ! -type d -print); do
+    cp -pR "$file" "$2/${1##*/}/${file/#$1}"
+    chown $EUID "$2/${1##*/}/${file/#$1}" &> /dev/null
+    chmod +r "$2/${1##*/}/${file/#$1}" &>/dev/null
+done
+
+exit 0
Index: mythweather/mythweather/mythweather.pro
===================================================================
--- mythweather/mythweather/mythweather.pro	(revision 21092)
+++ mythweather/mythweather/mythweather.pro	(working copy)
@@ -13,6 +13,8 @@
 INCLUDEPATH += $${PREFIX}/include/mythtv
 INCLUDEPATH += $${PREFIX}/include/mythtv/libmythui
 
+QMAKE_COPY_DIR = sh ../../cpsvndir
+
 datafiles.path = $${PREFIX}/share/mythtv/mythweather/
 datafiles.files = weather-screens.xml
 installscripts.path = $${PREFIX}/share/mythtv/mythweather/scripts
