SF.net SVN: geany:[3863] trunk/wscript

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Jun 12 18:52:02 UTC 2009


Revision: 3863
          http://geany.svn.sourceforge.net/geany/?rev=3863&view=rev
Author:   eht16
Date:     2009-06-12 18:52:02 +0000 (Fri, 12 Jun 2009)

Log Message:
-----------
Fix './waf distclean'.

Modified Paths:
--------------
    trunk/wscript

Modified: trunk/wscript
===================================================================
--- trunk/wscript	2009-06-12 15:32:35 UTC (rev 3862)
+++ trunk/wscript	2009-06-12 18:52:02 UTC (rev 3863)
@@ -35,7 +35,7 @@
 Known issues: Dependency handling is buggy, e.g. if src/document.h is
 			  changed, depending source files are not rebuilt (maybe Waf bug).
 
-Requires WAF 1.5.3 and Python 2.4 (or later).
+Requires WAF 1.5.7 and Python 2.4 (or later).
 """
 
 
@@ -493,7 +493,7 @@
 
 
 def shutdown():
-	is_win32 = target_is_win32(Build.bld.env)
+	is_win32 = False if not Build.bld else target_is_win32(Build.bld.env)
 	# the following code was taken from midori's WAF script, thanks
 	if not is_win32 and not Options.options.destdir and (Options.commands['install'] or Options.commands['uninstall']):
 		dir = Build.bld.get_install_path('${DATADIR}/icons/hicolor')


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list