diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-08-17 12:05:22 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-08-17 12:05:22 +0200 |
commit | 7c69574c5bec814cc3cb58701d2beccfe6093add (patch) | |
tree | 31c0bdc25a31f43e3682afed84c1fab1b4131a52 | |
parent | 04b73012bd80884d26da7157ee0c37f70f2c0b9c (diff) |
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)
-rw-r--r-- | buildlib/defaults.mak | 2 | ||||
-rwxr-xr-x | test/libapt/run-tests | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/buildlib/defaults.mak b/buildlib/defaults.mak index bf93bd2ee..d4269e05f 100644 --- a/buildlib/defaults.mak +++ b/buildlib/defaults.mak @@ -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: diff --git a/test/libapt/run-tests b/test/libapt/run-tests index 4b71c2097..c81520bef 100755 --- a/test/libapt/run-tests +++ b/test/libapt/run-tests @@ -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" |