X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=3259ed6026c56544a92b727384cfd9082bb05522;hb=7de03c75fc2ceb1ba2c5563003ac3d35f1c37197;hp=e230cb1cf2d88f9a2eafa0128e3f4ff6a55e3c4f;hpb=17e4118de4614ef0358bdcf4d7715f1a7c85d67e;p=dcpomatic.git diff --git a/cscript b/cscript index e230cb1cf..3259ed602 100644 --- a/cscript +++ b/cscript @@ -569,7 +569,7 @@ def build(target, options): with open('build/com.dcpomatic.DCP-o-matic.json', 'w') as outfile: json.dump(desc, outfile) target.command('%s --repo=build/platform/repo build/platform/flatpak build/com.dcpomatic.DCP-o-matic.json' % target.flatpak_builder()) - elif target.platform != "linux": + elif target.platform != "linux" or target.detail == 'appimage': # Build here if the packaging step won't do it target.command('./waf configure --prefix=%s %s' % (target.directory, configure_options(target, options))) target.command('./waf') @@ -618,8 +618,8 @@ def package_debian(target, cpu, version, options): target.set('CDIST_CONFIGURE', '"' + configure_options(target, options) + '"') target.set('CDIST_PACKAGE', f'dcpomatic{suffix}') - if target.debug: - target.set('CDIST_DEBUG_PACKAGE_FLAG', f'--dbg-package=dcpomatic{suffix}-dbg') + if not target.debug: + target.set('CDIST_DEBUG_PACKAGE_FLAG', '--no-ddebs') target.command('dpkg-buildpackage -uc -us')