From 6f69a04905c04da9279fc6c16c656f35d4af59a1 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 31 Oct 2009 22:44:30 +0100 Subject: [PATCH] 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. --- wscript | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index fad14bdb..1d380a87 100644 --- a/wscript +++ b/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')