X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=06d8d061317f291b745557e22239b019691b039e;hb=eb399f78462ef6ea5e1feca42e3a712b4b35d13f;hp=d344932f0390cba89e271bee55a5d97edab6a953;hpb=a25a31552bce1321861ecc5c7726d9225e58d037;p=catcam.git diff --git a/Makefile b/Makefile index d344932..06d8d06 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,16 @@ #!/usr/bin/make -f +CAMERA_HOST=catcam.example.com +WEB_HOST=catcam.example.com +WEB_DIR=/srv/catcam/html -deploy: motion_detected.sh - scp $^ don@jax.vpn.donarmstrong.com:.; +-include variables.mk + + +deploy-camera: motion_detected.sh + scp $^ don@$(CAMERA_HOST):.; + +deploy-server: index.cgi + scp $^ don@$(WEB_HOST):$(WEB_DIR)/.; .PHONY: deploy