]> arthur.barton.de Git - bup.git/commitdiff
Makefile: make t/tmp a real target
authorRob Browning <rlb@defaultvalue.org>
Sat, 21 Feb 2015 22:03:14 +0000 (16:03 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sun, 8 Mar 2015 21:10:19 +0000 (16:10 -0500)
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Makefile

index 23df79ded9d59fbeadc8094fef1676ab1e7ff63a..48ad75d734655e0e131dad6b8005fe87f0f3a16d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -82,14 +82,15 @@ lib/bup/_version.py:
        ./format-subst.pl $@.pre >$@.new
        mv $@.new $@
 
+t/tmp:
+       mkdir t/tmp
+
 runtests: all runtests-python runtests-cmdline
 
-runtests-python: all
-       test -e t/tmp || mkdir t/tmp
+runtests-python: all t/tmp
        TMPDIR="$(test_tmp)" $(PYTHON) wvtest.py t/t*.py lib/*/t/t*.py
 
-runtests-cmdline: all
-       test -e t/tmp || mkdir t/tmp
+runtests-cmdline: all t/tmp
        TMPDIR="$(test_tmp)" t/test-fuse.sh
        TMPDIR="$(test_tmp)" t/test-drecurse.sh
        TMPDIR="$(test_tmp)" t/test-cat-file.sh