diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-10-10 07:53:52 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-10-10 07:53:52 +0000 |
commit | 77d4b47b8ca665b28fd39e5d7705dd5a7351985b (patch) | |
tree | b2b12bdf9c1b6282c105050cd45e741f33890de1 | |
parent | abd9e9beece2f664495a8ef86602033f760f5a07 (diff) |
- add and use EXTRA_DIRS to wipe the test/locale/C directory
-rw-r--r-- | test/README | 1 | ||||
-rw-r--r-- | test/Rules.mak | 1 | ||||
-rw-r--r-- | test/Test.mak | 1 | ||||
-rw-r--r-- | test/locale/Makefile | 2 |
4 files changed, 4 insertions, 1 deletions
diff --git a/test/README b/test/README index b59945c54..2bc92ab4b 100644 --- a/test/README +++ b/test/README @@ -57,6 +57,7 @@ WRAPPER_foo := execute stuff just before test Or to control all tests in a subdir: EXTRA_CLEAN := extra files to remove in the clean target +EXTRA_DIRS := extra directories to remove in the clean target EXTRA_CFLAGS := -DFOO EXTRA_LDFLAGS := -lpthread OPTS := diff --git a/test/Rules.mak b/test/Rules.mak index b74d941b6..d188a9175 100644 --- a/test/Rules.mak +++ b/test/Rules.mak @@ -58,6 +58,7 @@ export TARGET_ARCH CROSS = $(subst ",, $(strip $(CROSS_COMPILER_PREFIX))) CC = $(CROSS)gcc RM = rm -f +RM_R = $(RM) -r # Select the compiler needed to build binaries for your development system HOSTCC = gcc diff --git a/test/Test.mak b/test/Test.mak index e0200db81..43c35d234 100644 --- a/test/Test.mak +++ b/test/Test.mak @@ -112,5 +112,6 @@ shell_%: clean: $(showclean) $(Q)$(RM) *.a *.o *.so *~ core *.out *.gdb $(CLEAN_TARGETS) $(EXTRA_CLEAN) + $(Q)$(RM_R) $(EXTRA_DIRS) .PHONY: all check clean test run compile diff --git a/test/locale/Makefile b/test/locale/Makefile index 0ab07f7aa..7e408b8cf 100644 --- a/test/locale/Makefile +++ b/test/locale/Makefile @@ -28,4 +28,4 @@ OPTS_dump-ctype = C OPTS_tst-ctype = < tst-ctype-de_DE.ISO-8859-1.in OPTS_tst-langinfo = < tst-langinfo.input -EXTRA_CLEAN := C +EXTRA_DIRS := C |