]> git.saurik.com Git - apt.git/commitdiff
add 'dirs' target to the 'all' target to ensure that for e.g. the tests
authorDavid Kalnischkies <kalnischkies@gmail.com>
Wed, 17 Aug 2011 10:05:22 +0000 (12:05 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Wed, 17 Aug 2011 10:05:22 +0000 (12:05 +0200)
all (sub)directories are build which are needed (e.g. obj/ and co)

buildlib/defaults.mak
test/libapt/run-tests

index bf93bd2eec3ae3151bbdfdda4769e8b10992e56d..d4269e05ff24b86efa416d9c799487d6ce8bf2f3 100644 (file)
@@ -118,7 +118,7 @@ MKDIRS := $(BIN)
 # list
 .PHONY: headers library clean veryclean all binary program doc dirs
 .PHONY: maintainer-clean dist-clean distclean pristine sanity
-all: binary doc
+all: dirs binary doc
 binary: library program
 maintainer-clean dist-clean distclean pristine sanity: veryclean
 headers library clean veryclean program:
index 4b71c2097a939119269a03f756dfa6a53f88f6af..c81520bef5396665e99639a22eaec0d05f8e48ca 100755 (executable)
@@ -3,7 +3,6 @@ set -e
 
 DIR=$(readlink -f $(dirname $0))
 echo "Compiling the tests …"
-test -d "$DIR/../../build/obj/test/libapt/" || mkdir -p "$DIR/../../build/obj/test/libapt/"
 (cd $DIR && make)
 echo "Running all testcases …"
 LDPATH="$DIR/../../build/bin"