# HG changeset patch # User Steve Losh # Date 1470334536 0 # Node ID b97a41daa36cf9d124aeacbf31be6c1e54bb5c09 # Parent dca223737d7ef7b615d25afea593a43e8ff989a5 Deploy diff -r dca223737d7e -r b97a41daa36c Makefile --- a/Makefile Thu Aug 04 17:45:05 2016 +0000 +++ b/Makefile Thu Aug 04 18:15:36 2016 +0000 @@ -1,4 +1,4 @@ -.PHONY: +.PHONY: deploy lisps := $(shell ffind '\.(asd|lisp|ros)$$') @@ -7,3 +7,10 @@ build/silt: $(lisps) ros build build/silt.ros + +/opt/silt/silt: build/silt + cp build/silt /opt/silt/silt + +deploy: + rsync --exclude=build/silt --exclude=.hg -avz . silt:/home/sjl/silt2 + ssh silt make -C /home/sjl/silt2 /opt/silt/silt