Bump version
[dcpomatic.git] / wscript
diff --git a/wscript b/wscript
index 6a4854052ab6ea2176f2290e31ad3fcae41edea9..2c714e64e0485038e72a4baf242241e7fc877615 100644 (file)
--- a/wscript
+++ b/wscript
@@ -29,14 +29,14 @@ from waflib import Logs, Context
 APPNAME = 'dcpomatic'
 
 this_version = subprocess.Popen(shlex.split('git tag -l --points-at HEAD'), stdout=subprocess.PIPE).communicate()[0]
-last_version = subprocess.Popen(shlex.split('git describe --abbrev=0'), stdout=subprocess.PIPE).communicate()[0]
+last_version = subprocess.Popen(shlex.split('git describe --tags --abbrev=0'), stdout=subprocess.PIPE).communicate()[0]
 
 if this_version == '':
     VERSION = '%sdevel' % last_version[1:].strip()
 else:
-    VERSION = this_version[1:].strip()
+VERSION = '2.13.2'
 
-print 'Version: %s' % VERSION
+print('Version: %s' % VERSION)
 
 def options(opt):
     opt.load('compiler_cxx')
@@ -63,6 +63,7 @@ def options(opt):
 
 def configure(conf):
     conf.load('compiler_cxx')
+    conf.load('clang_compilation_database', tooldir=['waf-tools'])
     if conf.options.target_windows:
         conf.load('winres')