X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fclam%2Fcpp%2Fpreconditions.sh;h=771f5a309036b4e7ee6c9281dfa751b10b0de51d;hb=884837a0e586db1068cafef194f94392ad049e45;hp=391f0ef0b8aefe8651a3d4456d4b56307cf5f3a0;hpb=102061cab065f647954f3e935f11f433e2f088d4;p=feisty_meow.git diff --git a/scripts/clam/cpp/preconditions.sh b/scripts/clam/cpp/preconditions.sh index 391f0ef0..771f5a30 100755 --- a/scripts/clam/cpp/preconditions.sh +++ b/scripts/clam/cpp/preconditions.sh @@ -2,7 +2,7 @@ # prepares the project for compilation by creating the appropriate directories. # make sure our temp directory is there. -if [ ! -d $CLAM_TMP ]; then mkdir $CLAM_TMP; fi +if [ ! -d $CLAM_TMP ]; then mkdir -p $CLAM_TMP; fi # if the clean flag is defined, then we need to quit. we should not be # creating directories or doing other tasks for a build that is really @@ -12,28 +12,28 @@ if [ ! -z "$CLEAN" ]; then fi # make sure generated files have a home. -if [ ! -d $TARGETS_DIR ]; then mkdir $TARGETS_DIR; fi +if [ ! -d $TARGETS_STORE ]; then mkdir -p $TARGETS_STORE; fi # create the generated files storage area. -if [ ! -d $OUTPUT_ROOT ]; then mkdir $OUTPUT_ROOT; fi +if [ ! -d $OUTPUT_ROOT ]; then mkdir -p $OUTPUT_ROOT; fi # create the top level object directory if it doesn't exist. -if [ ! -d $BASE_OUTPUT_PATH ]; then mkdir $BASE_OUTPUT_PATH; fi +if [ ! -d $BASE_OUTPUT_PATH ]; then mkdir -p $BASE_OUTPUT_PATH; fi # create the project level object directory if it is non-existent. -if [ ! -d $OUTPUT_PATH ]; then mkdir $OUTPUT_PATH; fi +if [ ! -d $OUTPUT_PATH ]; then mkdir -p $OUTPUT_PATH; fi # create a directory to hold any debugging files, if necessary. -if [ ! -d $PDB_DIR ]; then mkdir $PDB_DIR; fi +if [ ! -d $PDB_DIR ]; then mkdir -p $PDB_DIR; fi # ####if [ ! -d $TESTS_DIR ]; then mkdir $TESTS_DIR; fi # -if [ ! -d $EXECUTABLE_DIR ]; then mkdir $EXECUTABLE_DIR; fi +if [ ! -d $EXECUTABLE_DIR ]; then mkdir -p $EXECUTABLE_DIR; fi # -if [ ! -d $DYNAMIC_LIBRARY_DIR ]; then mkdir $DYNAMIC_LIBRARY_DIR; fi +if [ ! -d $DYNAMIC_LIBRARY_DIR ]; then mkdir -p $DYNAMIC_LIBRARY_DIR; fi # -if [ ! -d $STATIC_LIBRARY_DIR ]; then mkdir $STATIC_LIBRARY_DIR; fi +if [ ! -d $STATIC_LIBRARY_DIR ]; then mkdir -p $STATIC_LIBRARY_DIR; fi # set versions on any extras that were specified in the makefile. if [ ! -z "$EXTRA_VERSIONS" ]; then for i in $EXTRA_VERSIONS; do - $CLAM_BINARY_DIR/version_stamper$EXE_END $i $PARAMETER_FILE + $CLAM_BINARIES/version_stamper$EXE_END $i $PARAMETER_FILE done fi