diff options
Diffstat (limited to 'cpp/bootstrap')
-rwxr-xr-x | cpp/bootstrap | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/bootstrap b/cpp/bootstrap index 4fbce77e3f..b956edf70f 100755 --- a/cpp/bootstrap +++ b/cpp/bootstrap @@ -17,13 +17,13 @@ if test -d ../specs; then # contents of the sole automake-else clause (the warning), then # use the result to run the rules that create gen-src.mk, a file # that must be created before we run automake. - (cd gen && rm -f gen-src.mk + (cd src/gen && rm -f gen-src.mk perl -ne '/warning:|^(if|else|endif|include)\b/ or print' Makefile.am \ | make -f - srcdir=. gen-src.mk > /dev/null ) fi # Generate (for automake) lots of repetitive parts of tests/Makefile.am. -(cd tests && rm -f gen.mk +(cd src/tests && rm -f gen.mk perl -ne '/^include / or print' Makefile.am \ | make -f - abs_srcdir=`dirname $(pwd)` gen.mk > /dev/null ) |