target.set('CDIST_CONFIGURE', '"' + configure_options(target) + '"')
if target.debug:
target.set('CDIST_DEBUG_PACKAGE', '--dbg-package=dcpomatic-dbg')
- if target.version in ['16.04', '16.10', '17.04', '8', 'unstable']:
- target.set('CDIST_LOCALE_PREFIX', '/usr/share/locale')
- else:
+ if target.version in ['14.04']:
target.set('CDIST_LOCALE_PREFIX', '/usr/local/share/locale')
+ else:
+ target.set('CDIST_LOCALE_PREFIX', '/usr/share/locale')
target.command('dpkg-buildpackage -uc -us')