diff --git a/cd06/Makefile b/cd06/Makefile index 6a152ec..cf3ffc1 100644 --- a/cd06/Makefile +++ b/cd06/Makefile @@ -1,7 +1,10 @@ include Makefile.config -all: - python3 script.py target - rm -rf target/tmp/ - lftp -e 'mirror -e -R target $(SFTP_DIRECTORY); exit' $(SFTP_URL) +.PHONY: all +VAR_DIR=target + +LOG=$(shell tempfile) + +all: + lftp -e 'set cmd:interactive 0; set sftp:connect-program "ssh -a -x -o HostKeyAlgorithms=+ssh-dss -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"; cd Recette; exit' $(SFTP_URL)