more packaging tweaks
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 20 May 2012 14:35:07 +0000 (14:35 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 20 May 2012 14:35:07 +0000 (14:35 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@12341 d708f5d6-7413-0410-9779-e7cbd77b26cf

tools/linux_packaging/build
tools/osx_packaging/osx_build

index 171b4197e26ed78ccdfe20663c6ae5922534fe7e..41adb87d8443e555aa6d499344e7e5b2be61092a 100755 (executable)
@@ -486,6 +486,13 @@ for x in $BUILD_ROOT/../mcp/*.device $BUILD_ROOT/../mcp/*.profile ; do
     echo Copied Mackie Control file $x 
 done
 
+# Templates
+for f in * ; do 
+    if [ -d "$f" ] ; then
+       echo Template: $f ; cp -r "$f" $Templates ; 
+    fi
+done
+
 # ExportFormats
 # got to be careful with names here
 for x in $BUILD_ROOT/../export/*.preset $BUILD_ROOT/../export/*.format ; do
@@ -628,9 +635,6 @@ fi
 
 cp -R ../../gtk2_ardour/splash.png $Shared
 
-# Templates
-cp ../../templates/*.template $Templates
-
 # go through and recursively remove any .svn dirs in the bundle
 for svndir in `find $APPDIR -name .svn -type d`; do
        rm -rf $svndir
index 3076cecfce1636adfca795bd1cbcbe4348bbb91c..d3d07c146cf00144c6ebbc6a505c83fab78e83fb 100755 (executable)
@@ -308,15 +308,17 @@ mv $Surfaces/libardourcp*.dylib $Frameworks
 # Export formats
 cp $BUILD_ROOT/libs/panners/*/lib*.dylib $Panners
 (cd ../../export && 
-    for f in *.preset ; do 
-       echo ExportFormat: $f; cp "$f" ../tools/osx_packaging/$ExportFormats ; 
+    for f in *.preset *.format ; do 
+       echo ExportFormat: $f 
+        cp "$f" $ExportFormats ; 
 done)
 
 # Session and Route templates
 (cd $BUILD_ROOT/../templates && \
     for f in * ; do 
        if [ -d "$f" ] ; then
-           echo Template: $f ; cp -r "$f" ../tools/osx_packaging/$Templates ; 
+           echo Template: $f 
+            cp -r "$f" $Templates ; 
        fi
 done)