summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-12-11 12:56:03 +0100
committerCarl Hetherington <cth@carlh.net>2019-12-12 22:37:14 +0100
commit2c4776f4beb5fd29be840c57a0e8878422ac530d (patch)
treec200aa7f8e9b165b4178354f9fe8977f997548f7 /cscript
parent5d92e7bf242200c3b3b8a079671b572569d2b198 (diff)
Use the new libdcp xerces stuff and install the required supporting files.
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/cscript b/cscript
index 1845cc7d0..eb7a817eb 100644
--- a/cscript
+++ b/cscript
@@ -604,6 +604,8 @@ def make_appimage(target, nice_name, internal_name, version):
os.makedirs('build/%s.AppDir/usr/bin' % nice_filename)
target.command('cp %s/bin/%s build/%s.AppDir/usr/bin' % (target.directory, internal_name, nice_filename))
target.command('cp %s/src/openssl/apps/openssl build/%s.AppDir/usr/bin/dcpomatic2_openssl' % (target.directory, nice_filename))
+ target.command('mkdir -p build/%s.AppDir/usr/share/libdcp' % nice_filename)
+ target.command('cp -r %s/share/libdcp/xsd build/%s.AppDir/usr/share/libdcp/' % (target.directory, nice_filename))
with open('build/%s.AppDir/AppRun' % nice_filename, 'w') as f:
print('#!/bin/bash', file=f)
print('export APPDIR="$(dirname "$(readlink -f "$0")")"', file=f)