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/tvint.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
endif
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 "$@"
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 \