summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-04-21 00:29:21 +0200
committerRobin Gareus <robin@gareus.org>2020-04-21 00:29:21 +0200
commit5d3554408d24e21bad54559582768eff54163990 (patch)
treedda0ed45f0a6bf495cb3787041d13a2c5eda8bd4 /tools
parent1c7c0533c200d9003138b7f26509e210ca2dae31 (diff)
Include web-surface data in linux and mac bundles
Diffstat (limited to 'tools')
-rwxr-xr-xtools/linux_packaging/build5
-rwxr-xr-xtools/osx_packaging/osx_build5
2 files changed, 10 insertions, 0 deletions
diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build
index 55a7b9c1c7..4f2826032b 100755
--- a/tools/linux_packaging/build
+++ b/tools/linux_packaging/build
@@ -193,6 +193,7 @@ Locale=$Shared/locale
MidiMaps=$Shared/midi_maps
PatchFiles=$Shared/patchfiles
LuaScripts=$Shared/scripts
+WebSurfaces=$Shared/web_surfaces
MackieControl=$Shared/mcp
OSC=$Shared/osc
@@ -381,6 +382,10 @@ for x in $BUILD_ROOT/../share/scripts/*.lua ; do
cp "$x" $LuaScripts
done
+# recusively copy web-surface html/js
+cp -a $BUILD_ROOT/../share/scripts/web_surfaces $WebSurfaces
+rm $WebSurfaces/wscript
+
# MackieControl data
# got to be careful with names here
for x in $BUILD_ROOT/../share/mcp/*.device $BUILD_ROOT/../share/mcp/*.profile ; do
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build
index 1559735a6c..8df78a2bef 100755
--- a/tools/osx_packaging/osx_build
+++ b/tools/osx_packaging/osx_build
@@ -145,6 +145,7 @@ ExportFormats=$Shared/export
Templates=$Shared/templates
PatchFiles=$Shared/patchfiles
LuaScripts=$Shared/scripts
+WebSurfaces=$Shared/web_surfaces
MackieControl=$Shared/mcp
OSC=$Shared/osc
Themes=$Shared/themes
@@ -377,6 +378,10 @@ for x in $BUILD_ROOT/../share/scripts/*.lua ; do
cp "$x" $LuaScripts
done
+# recusively copy web-surface html/js
+cp -a $BUILD_ROOT/../share/scripts/web_surfaces $WebSurfaces
+rm $WebSurfaces/wscript
+
# MackieControl data
# got to be careful with names here
for x in $BUILD_ROOT/../share/mcp/*.device $BUILD_ROOT/../share/mcp/*.profile ; do