Add compatibility options to build script to support packaging
Debian CDBS for example can use the 'configure' script in a way that doesn't require waf specific rules, but it insists on passing --build and --disable-maintainer-mode.
This commit is contained in:
parent
d550d2c520
commit
6f69a04905
1 changed files with 5 additions and 1 deletions
6
wscript
6
wscript
|
@ -343,6 +343,10 @@ def set_options (opt):
|
|||
add_enable_option ('addons', 'building of extensions', group)
|
||||
add_enable_option ('hildon', 'Maemo integration', group, disable=not is_maemo ())
|
||||
|
||||
# Provided for compatibility
|
||||
opt.add_option ('--build', help='Ignored')
|
||||
opt.add_option ('--disable-maintainer-mode', help='Ignored')
|
||||
|
||||
def build (bld):
|
||||
def image_to_win32ico (task):
|
||||
'Converts an image to a Win32 ico'
|
||||
|
@ -380,7 +384,7 @@ def build (bld):
|
|||
|
||||
if bld.env['docs']:
|
||||
bld.install_files ('${DOCDIR}/' + APPNAME + '/', \
|
||||
'AUTHORS ChangeLog COPYING EXPAT README TRANSLATE')
|
||||
'AUTHORS COPYING ChangeLog EXPAT README')
|
||||
|
||||
# Install default configuration
|
||||
bld.install_files ('${SYSCONFDIR}/xdg/' + APPNAME + '/', 'data/search')
|
||||
|
|
Loading…
Reference in a new issue