X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=Makefile;h=24d75faae9b04c801b7291fd67603aca57ae2beb;hb=65a99a77cc9be42f394198abb07f40b6de48b3d5;hp=e5e2b67c1820b9e2cfbd41ce3a0a394d0b54114a;hpb=3c64b5788c3e6b10528a81285b71da2edbed8950;p=bup.git diff --git a/Makefile b/Makefile index e5e2b67..24d75fa 100644 --- a/Makefile +++ b/Makefile @@ -144,22 +144,22 @@ t/tmp: runtests: runtests-python runtests-cmdline python_tests := \ + lib/bup/t/tbloom.py \ + lib/bup/t/tgit.py \ lib/bup/t/thashsplit.py \ + lib/bup/t/thelpers.py \ + lib/bup/t/tindex.py \ + lib/bup/t/tmetadata.py \ lib/bup/t/toptions.py \ lib/bup/t/tshquote.py \ + lib/bup/t/tvfs.py \ lib/bup/t/tvint.py \ lib/bup/t/txstat.py ifeq "2" "$(bup_python_majver)" python_tests += \ - lib/bup/t/tbloom.py \ lib/bup/t/tclient.py \ - lib/bup/t/tgit.py \ - lib/bup/t/thelpers.py \ - lib/bup/t/tindex.py \ - lib/bup/t/tmetadata.py \ - lib/bup/t/tresolve.py \ - lib/bup/t/tvfs.py + lib/bup/t/tresolve.py endif # The "pwd -P" here may not be appropriate in the long run, but we @@ -175,6 +175,7 @@ cmdline_tests := ifeq "2" "$(bup_python_majver)" cmdline_tests += \ + t/test-argv \ t/test-ftp \ t/test-save-restore \ t/test-packsizelimit \ @@ -256,9 +257,10 @@ check: test distcheck: all ./wvtest run t/test-release-archive.sh -cmd/bup-python: cmd/python-cmd.sh config/config.vars Makefile - head -n -1 $< > "$@".$$PPID.tmp - printf "exec %q \"\$$@\"\n" "$(bup_python)" >> "$@".$$PPID.tmp +cmd/bup-python: cmd/python-cmd.sh config/config.var/bup-python + "$$(cat config/config.var/bup-python)" dev/replace -l '@bup_python@' \ + "$$(dev/shquote < config/config.var/bup-python)" \ + < "$<" > "$@".$$PPID.tmp chmod +x "$@".$$PPID.tmp mv "$@".$$PPID.tmp "$@" @@ -322,6 +324,7 @@ import-docs: Documentation/clean clean: Documentation/clean cmd/bup-python cd config && rm -f *~ .*~ \ ${CONFIGURE_DETRITUS} ${CONFIGURE_FILES} ${GENERATED_FILES} + cd config && rm -rf config.var rm -f *.o lib/*/*.o *.so lib/*/*.so *.dll lib/*/*.dll *.exe \ .*~ *~ */*~ lib/*/*~ lib/*/*/*~ \ *.pyc */*.pyc lib/*/*.pyc lib/*/*/*.pyc \