Little reformatting.

Beautify the Waf output when generating geanyfunctions.h.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3346 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2008-12-08 21:24:13 +00:00
parent da2448cf02
commit 14a90d6079
2 changed files with 70 additions and 63 deletions

View File

@ -1,3 +1,10 @@
2008-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript:
Little reformatting.
Beautify the Waf output when generating geanyfunctions.h.
2008-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:

View File

@ -303,7 +303,7 @@ def build(bld):
obj.uselib_local = 'scintilla tagmanager'
# geanyfunctions.h
bld.new_task_gen(source='plugins/genapi.py src/plugins.c', name='PluginAPI',
bld.new_task_gen(source='plugins/genapi.py src/plugins.c', name='geanyfunctions.h',
rule='cd ${SRC[0].parent.abspath()} && python genapi.py -q', before='cc')
# Plugins
@ -490,7 +490,7 @@ def print_message(conf, msg, result, color = 'GREEN'):
def exec_rule(self):
if not getattr(self, 'rule', None):
return
name = self.target
name = self.target or self.name
cls = Task.simple_task_type(name, self.rule)
tsk = self.create_task(name)