[Xfce4-commits] <midori:master> Remove second incomplete midori-core.vapi

Christian Dywan noreply at xfce.org
Fri Oct 5 21:24:01 CEST 2012


Updating branch refs/heads/master
         to 57dc168353de2fed736121c9b1b94977a3268c67 (commit)
       from fb0527b0ba14cd6238005c5673961bc35702310a (commit)

commit 57dc168353de2fed736121c9b1b94977a3268c67
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Oct 5 19:06:08 2012 +0200

    Remove second incomplete midori-core.vapi

 midori/wscript_build |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/midori/wscript_build b/midori/wscript_build
index 6c8c0e8..cc506cc 100644
--- a/midori/wscript_build
+++ b/midori/wscript_build
@@ -4,12 +4,17 @@
 
 import Options
 import platform
+import os
 
 progressive = True
 libs = 'M UNIQUE LIBSOUP GMODULE GTHREAD LIBIDN GIO GTK SQLITE ' \
        'LIBNOTIFY WEBKIT JAVASCRIPTCOREGTK LIBXML X11 XSS WS2_32 HILDON' \
        'HILDON_FM GCR GRANITE ZEITGEIST'
 
+if Options.commands['build'] or Options.commands['check']:
+    blddir = str (bld.bldnode)[6:] # dir:// + absolute path
+    os.remove (blddir  + '/default/midori/midori-core.vapi')
+
 if progressive:
     obj = bld.new_task_gen ('cc', 'staticlib')
     obj.target = 'midori-core'


More information about the Xfce4-commits mailing list