Makefile @ e1295ede4c11

Cleanup
author Steve Losh <steve@stevelosh.com>
date Mon, 23 Dec 2019 17:01:59 -0500
parents a5438ac6a2a0
children 43050007ebb5
.PHONY: deploy update-deps

lisps := $(shell ffind '\.(asd|lisp|ros)$$')

quickutils.lisp: make-quickutils.lisp
	sbcl --noinform --load make-quickutils.lisp  --eval '(quit)'

build/silt: $(lisps)
	sbcl --disable-debugger --noinform --load 'build/build.lisp' --quit
	mv silt build/silt

update-deps:
	hg -R /home/sjl/cl-losh pull -u
	hg -R /home/sjl/beast pull -u

/opt/silt/silt: update-deps build/silt
	rm /opt/silt/silt
	cp build/silt /opt/silt/silt

deploy: build/silt
	rsync --exclude=build/silt --exclude=.hg --exclude=silt.prof -avz . silt:/home/sjl/silt2
	ssh silt make -C /home/sjl/silt2 /opt/silt/silt