projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
653ac08
)
wscript: ask the user to run 'make distclean' before running waf
author
Paul Brossier
<piem@piem.org>
Thu, 17 Nov 2011 01:30:49 +0000
(17:30 -0800)
committer
Paul Brossier
<piem@piem.org>
Thu, 17 Nov 2011 01:30:49 +0000
(17:30 -0800)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index
884dc6f
..
9804673
100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-21,6
+21,12
@@
VERSION = '.'.join \
+ 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'