~armaan/armaanb.net

e5a41b57cde334b9417379cf1797517e53a9587f — Armaan Bhojwani 2 months ago e93c34e
makefile: consolidate rsync command
1 files changed, 5 insertions(+), 6 deletions(-)

M Makefile
M Makefile => Makefile +5 -6
@@ 1,3 1,5 @@
RSYNC = rsync -azre 'ssh -o StrictHostKeyChecking=no' --protocol=31

# Build
http-build:
	make emacs-build


@@ 14,16 16,13 @@ emacs-build:

# Deploy
http-deploy:
	rsync -azre 'ssh -o StrictHostKeyChecking=no' public/* \
		web@armaanb.net:/srv/www/armaanb.net/
		${RSYNC} public/* web@armaanb.net:/srv/www/armaanb.net/

gemini-deploy:
	rsync -azre 'ssh -o StrictHostKeyChecking=no' gemini/* \
		web@armaanb.net:/srv/gemini/
	${RSYNC} gemini/* web@armaanb.net:/srv/gemini/

emacs-deploy:
	rsync -azre 'ssh -o StrictHostKeyChecking=no' public/config.* \
		web@armaanb.net:/srv/www/armaanb.net/
	${RSYNC} public/config.* web@armaanb.net:/srv/www/armaanb.net/

# Meta
emacs: