Bump version
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 8259264b47a845d90e003873aa5719f679c70bf1..fd8d36d1ed726cde6caf61979bad2512d9078f48 100644 (file)
--- a/cscript
+++ b/cscript
@@ -166,6 +166,8 @@ def build(target, options):
     elif target.platform == 'linux':
         if target.distro == 'debian' or target.distro == 'ubuntu':
             cmd += ' --target-debian'
+            if target.version == 'unstable':
+                cmd += ' --debian-unstable'
         elif target.distro == 'centos':
             cmd += ' --target-centos'
 
@@ -201,6 +203,8 @@ def package_debian(target, cpu, version):
     target.set('CDIST_LINKFLAGS', target.get('LINKFLAGS'))
     target.set('CDIST_CXXFLAGS', target.get('CXXFLAGS'))
     target.set('CDIST_PKG_CONFIG_PATH', target.get('PKG_CONFIG_PATH'))
+    if target.version == 'unstable':
+        target.set('CDIST_EXTRA_CONFIGURE', '--debian-unstable')
     target.command('dpkg-buildpackage')
     
     debs = []