fix copying of templates into bundles, etc

git-svn-id: svn://localhost/ardour2/branches/3.0@12344 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-05-20 15:20:27 +00:00
parent 47d6c65a1c
commit a47cfd7f6f
2 changed files with 15 additions and 14 deletions

View File

@ -487,7 +487,7 @@ for x in $BUILD_ROOT/../mcp/*.device $BUILD_ROOT/../mcp/*.profile ; do
done
# Templates
for f in templates/* ; do
for f in $BUILD_ROOT/../templates/* ; do
if [ -d "$f" ] ; then
echo Template: $f ; cp -r "$f" $Templates ;
fi

View File

@ -305,22 +305,23 @@ cp $BUILD_ROOT/libs/surfaces/*/libardour_*.dylib $Surfaces
# hack ... move libardour_cp back into Frameworks
mv $Surfaces/libardourcp*.dylib $Frameworks
# Export formats
# Panners
cp $BUILD_ROOT/libs/panners/*/lib*.dylib $Panners
(cd ../../export &&
for f in *.preset *.format ; do
echo ExportFormat: $f
cp "$f" $ExportFormats ;
done)
# Export Formats/Presets
for f in $BUILD_ROOT/../export/*.preset $BUILD_ROOT/../export/*.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" $Templates ;
fi
done)
for f in $BUILD_ROOT/../templates/* ; do
if [ -d "$f" ] ; then
echo Template: $f
cp -r "$f" $Templates ;
fi
done
# MidiMaps
# got to be careful with names here