Procházet zdrojové kódy

add 'dirs' target to the 'all' target to ensure that for e.g. the tests
all (sub)directories are build which are needed (e.g. obj/ and co)

David Kalnischkies před 15 roky
rodič
revize
7c69574c5b
2 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 1
      buildlib/defaults.mak
  2. 0 1
      test/libapt/run-tests

+ 1 - 1
buildlib/defaults.mak

@@ -118,7 +118,7 @@ MKDIRS := $(BIN)
 # list
 # list
 .PHONY: headers library clean veryclean all binary program doc dirs
 .PHONY: headers library clean veryclean all binary program doc dirs
 .PHONY: maintainer-clean dist-clean distclean pristine sanity
 .PHONY: maintainer-clean dist-clean distclean pristine sanity
-all: binary doc
+all: dirs binary doc
 binary: library program
 binary: library program
 maintainer-clean dist-clean distclean pristine sanity: veryclean
 maintainer-clean dist-clean distclean pristine sanity: veryclean
 headers library clean veryclean program:
 headers library clean veryclean program:

+ 0 - 1
test/libapt/run-tests

@@ -3,7 +3,6 @@ set -e
 
 
 DIR=$(readlink -f $(dirname $0))
 DIR=$(readlink -f $(dirname $0))
 echo "Compiling the tests …"
 echo "Compiling the tests …"
-test -d "$DIR/../../build/obj/test/libapt/" || mkdir -p "$DIR/../../build/obj/test/libapt/"
 (cd $DIR && make)
 (cd $DIR && make)
 echo "Running all testcases …"
 echo "Running all testcases …"
 LDPATH="$DIR/../../build/bin"
 LDPATH="$DIR/../../build/bin"