2016-2017/Makefile

19 lines
722 B
Makefile
Raw Normal View History

2017-06-16 06:49:23 +00:00
SSH_CONF=Embrevade
SSH_TARGET_DIR=/var/docker/raw.opytex.org/www/
2017-08-24 06:49:48 +00:00
SRC_EXCLUDE=--exclude 'Archive' --exclude 'tools/' --exclude "__pycache__" --exclude "config.py" --exclude "Divers" --exclude "reflections" --exclude "Notes" --exclude "notes"
GIT_EXCLUDE=--exclude ".git" --exclude ".gitignore" --exclude ".*"
2017-06-16 06:49:23 +00:00
ssh_upload:
scp -r $(OUTPUTDIR)/* $(SSH_CONF):$(SSH_TARGET_DIR)
rsync_upload:
2017-08-24 06:49:48 +00:00
rsync -e "ssh" -P -rvzc --delete $(GIT_EXCLUDE) $(SRC_EXCLUDE) $(CURDIR)/ $(SSH_CONF):$(SSH_TARGET_DIR) --cvs-exclude
2017-06-16 06:49:23 +00:00
rsync_cleUSB:
2017-08-24 06:49:48 +00:00
rsync --progress --modify-window=1 --update --recursive --times --del ./ $(GIT_EXCLUDE) /run/media/lafrite/CLE32_FAT
rsync -av --del ./ $(GIT_EXCLUDE) /run/media/lafrite/Cle32_ext4
2017-06-16 06:49:23 +00:00
.PHONY: