[Xfce4-commits] <midori:master> Add compatibility options to build script to support packaging

Christian Dywan noreply at xfce.org
Sat Oct 31 22:58:02 CET 2009


Updating branch refs/heads/master
         to 6f69a04905c04da9279fc6c16c656f35d4af59a1 (commit)
       from d550d2c5208e040968806ab50ad34310407f8c81 (commit)

commit 6f69a04905c04da9279fc6c16c656f35d4af59a1
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat Oct 31 22:44:30 2009 +0100

    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 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/wscript b/wscript
index fad14bd..1d380a8 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')



More information about the Xfce4-commits mailing list