summaryrefslogtreecommitdiff
path: root/tools/x-win
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-03-12 02:36:01 +0100
committerRobin Gareus <robin@gareus.org>2015-03-12 02:37:10 +0100
commitae5c614bf8c68ca064345f4016c864f94bf62b8e (patch)
treedb2347109b737f0ec08ee0b8cb08f34746ac5b22 /tools/x-win
parent1fca43791c64d324a420c2b3bc2d6054327933bb (diff)
prepare windows i18n
Diffstat (limited to 'tools/x-win')
-rwxr-xr-xtools/x-win/compile.sh4
-rwxr-xr-xtools/x-win/package.sh5
2 files changed, 9 insertions, 0 deletions
diff --git a/tools/x-win/compile.sh b/tools/x-win/compile.sh
index e6ed0b6381..8db9d984af 100755
--- a/tools/x-win/compile.sh
+++ b/tools/x-win/compile.sh
@@ -72,3 +72,7 @@ LDFLAGS="-L${PREFIX}/lib" ./waf configure \
$ARDOURCFG \
--prefix=${PREFIX}
./waf ${CONCURRENCY}
+
+echo " === build complete, creating translations"
+./waf i18n
+echo " === done"
diff --git a/tools/x-win/package.sh b/tools/x-win/package.sh
index c747aae3ca..bb139cc6c5 100755
--- a/tools/x-win/package.sh
+++ b/tools/x-win/package.sh
@@ -83,6 +83,9 @@ if ! test -f build/gtk2_ardour/ardour-${BINVERSION}.exe; then
echo "*** Please compile ardour ${ARDOURVERSION} first."
exit 1
fi
+
+echo " === bundle to $DESTDIR"
+
./waf install
################################################################################
@@ -156,6 +159,7 @@ if test -f /usr/${XPREFIX}/lib/libwinpthread-1.dll; then
fi
cp -r $PREFIX/share/${LOWERCASE_DIRNAME} $DESTDIR/share/
+cp -r $PREFIX/share/locale $DESTDIR/share/
cp -r $PREFIX/etc/${LOWERCASE_DIRNAME}/* $DESTDIR/share/${LOWERCASE_DIRNAME}/
cp COPYING $DESTDIR/share/
@@ -166,6 +170,7 @@ cp gtk2_ardour/icons/ardour_bug.ico $DESTDIR/share/
cp gtk2_ardour/icons/cursor_square/* $DESTDIR/share/${LOWERCASE_DIRNAME}/icons/
# clean build-dir after depoyment
+echo " === bundle completed, cleaning up"
./waf uninstall
echo " === complete"
du -sh $DESTDIR