Fix LD_LIBRARY_PATH.
[libsub.git] / wscript
diff --git a/wscript b/wscript
index cf03a8ee93cf2ea1d25cc279c833eb81252f06c4..936cf1ee63650a69da13b333152f1b978c128500 100644 (file)
--- a/wscript
+++ b/wscript
@@ -3,7 +3,7 @@ import os
 from waflib import Context
 
 APPNAME = 'libsub'
-VERSION = '1.1.10'
+VERSION = '1.2.0devel'
 API_VERSION = '-1.0'
 
 def options(opt):
@@ -29,6 +29,9 @@ def configure(conf):
     else:
         conf.env.append_value('CXXFLAGS', '-O3')
 
+    # Disable libxml++ deprecation warnings for now
+    conf.env.append_value('CXXFLAGS', ['-Wno-deprecated-declarations'])
+
     conf.check_cfg(package='openssl', args='--cflags --libs', uselib_store='OPENSSL', mandatory=True)
 
     if conf.options.static:
@@ -150,3 +153,6 @@ def create_version_cc(bld, version):
 def post(ctx):
     if ctx.cmd == 'install':
         ctx.exec_command('/sbin/ldconfig')
+
+def tags(bld):
+    os.system('etags src/*.cc src/*.h')