Revision: 702 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=702&view=rev Author: eht16 Date: 2009-06-11 10:04:51 +0000 (Thu, 11 Jun 2009)
Log Message: ----------- Write a convenience waf.bat on Windows.
Modified Paths: -------------- trunk/geany-plugins/wscript
Modified: trunk/geany-plugins/wscript =================================================================== --- trunk/geany-plugins/wscript 2009-06-11 09:01:32 UTC (rev 701) +++ trunk/geany-plugins/wscript 2009-06-11 10:04:51 UTC (rev 702) @@ -310,10 +310,14 @@ conf.env.append_value('enabled_plugins', enabled_plugins) conf.env.append_value('CCFLAGS', '-DHAVE_CONFIG_H'.split())
- # write a simply Makefile - f = open('Makefile', 'w') - print >>f, makefile_template - f.close + if is_win32: # convenience script (script content copied from the original waf.bat) + f = open('waf.bat', 'wb') + f.write('@python -x %~dp0waf %* & exit /b') + f.close + else: # write a simple Makefile + f = open('Makefile', 'w') + f.write(makefile_template) + f.close
def set_options(opt):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.