Stop strange things happening with zero-length video files.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index eeef2a65ab4e3735e6dc04f95681a0dd69a36552..b82e0ad7751a4a59248a25a724cf21534bf66150 100644 (file)
--- a/cscript
+++ b/cscript
@@ -4,7 +4,7 @@ import os
 
 def dependencies(target):
     return (('ffmpeg-cdist', 'b1219246a0cce9a4b916669d506bb33c925225c3'),
-            ('libdcp', '85fffccfceaef5652452eb60bef98b0c49a898c6'))
+            ('libdcp', '658695856029c7ae80e3556d07a1a5cb1b51cf1d'))
 
 def build(target):
     cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
@@ -59,7 +59,7 @@ def package(target, version):
 
         return debs
     elif target.platform == 'osx':
-        target.command('bash platform/osx/make_dmg.sh')
+        target.command('bash platform/osx/make_dmg.sh %s' % target.work_dir_cscript())
         return os.path.abspath(glob.glob('build/platform/osx/DCP-o-matic*.dmg')[0])
 
 def make_pot(target):
@@ -71,4 +71,5 @@ def make_pot(target):
 def make_manual(target):
     os.chdir('doc/manual')
     target.command('make')
-    return [os.path.abspath('pdf'), os.path.abspath('html')]
+    target.command('pdflatex colour.tex')
+    return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')]