[geany/geany] d7a7c1: Merge pull request #741 from eht16/waf_deprecation_notice
Frank Lanitz
git-noreply at xxxxx
Tue Nov 10 21:30:10 UTC 2015
Branch: refs/heads/master
Author: Frank Lanitz <frank at frank.uvena.de>
Committer: Frank Lanitz <frank at frank.uvena.de>
Date: Tue, 10 Nov 2015 21:30:10 UTC
Commit: d7a7c130271cfbf6e840e880849a1ac306a0053e
https://github.com/geany/geany/commit/d7a7c130271cfbf6e840e880849a1ac306a0053e
Log Message:
-----------
Merge pull request #741 from eht16/waf_deprecation_notice
Add a deprecation notice when using the Waf build system
Modified Paths:
--------------
wscript
Modified: wscript
10 lines changed, 10 insertions(+), 0 deletions(-)
===================================================================
@@ -349,6 +349,15 @@ but you then may not have a local copy of the HTML manual.'''
conf.msg('Use virtual terminal support', conf.options.no_vte and 'no' or 'yes')
if revision is not None:
conf.msg('Compiling Git revision', revision)
+ # deprecation warning
+ _show_deprecation_warning(conf)
+
+
+def _show_deprecation_warning(ctx):
+ Logs.pprint(
+ 'RED',
+ 'The Waf build system is deprecated and will be removed in the removed in Geany 1.27. '
+ 'Please use the Autotools build system.')
def options(opt):
@@ -393,6 +402,7 @@ def options(opt):
def build(bld):
is_win32 = _target_is_win32(bld)
+ bld.add_post_fun(_show_deprecation_warning)
if bld.cmd == 'clean':
_remove_linguas_file()
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list