regex-riddles/Makefile

20 lines
399 B
Makefile
Raw Normal View History

2024-05-17 20:41:51 +02:00
SHELL=bash
server_path=/srv/web/regex
2024-05-17 20:41:51 +02:00
.PHONY: generate push all
all: generate push
generate:
./generate.py
push:
# assumes that you have rsync (a copying tool).
# if necessary, use 'scp -r' instead of 'rsync -avuP'
# also assumes you have something like this in your ~/.ssh/config:
# Host quitte
# HostName quitte.ifsr.de
# User <usename>
rsync -avuP ./deploy/ quitte:$(server_path)
2024-05-17 20:41:51 +02:00