ref: e565c6494c756d819a876eab15b246b4dc10995f
parent: 653ac085744b5f050a00a4b43aad7b3e1dfd63a6
author: Paul Brossier <piem@piem.org>
date: Wed Nov 16 12:30:49 EST 2011
wscript: ask the user to run 'make distclean' before running waf
--- a/wscript
+++ b/wscript
@@ -21,6 +21,12 @@
+ AUBIO_VERSION_STATUS
LIB_VERSION = '.'.join \
([str(x) for x in [LIBAUBIO_LT_CUR, LIBAUBIO_LT_REV, LIBAUBIO_LT_AGE]])
+
+import os.path, sys
+if os.path.exists('src/config.h') or os.path.exists('Makefile'):
+ print "Please run 'make distclean' using waf"
+ sys.exit(1)
+
top = '.'
out = 'build'