diff --git a/Makefile b/Makefile index 5b4cac31e..7a7bdff00 100644 --- a/Makefile +++ b/Makefile @@ -84,7 +84,7 @@ initial_build_libs_tools: if ! ( cd $$dir; ${JMAKE}; ); then exit 1; fi \ done; @$(foreach dir, $(wildcard tools/*), \ - ${IF_DIR} ${JMAKE} install; ${ENDIF_DIR}) + ${IF_DIR} if ! ( ${JMAKE} install; ); then exit 1; fi ${ENDIF_DIR}) @cd tutorial; ${JMAKE} # diff --git a/configure b/configure index fdb2062b3..37a803025 100755 --- a/configure +++ b/configure @@ -216,5 +216,7 @@ if [[ ! -e libjcore/code/jStringData.h && $1 != package ]]; then chmod u+w libjcore/code/jStringData.h; fi -touch libjx/image-build/*; -touch libjexpr/code/JExprParserY.cpp libjexpr/code/JExprParserY.hpp; +if [[ $1 != package ]]; then + touch libjx/image-build/*; + touch libjexpr/code/JExprParserY.cpp libjexpr/code/JExprParserY.hpp; +fi