Makefile @ bb25eaad4d17

Add bin to .hgignore.
author Steve Losh <steve@stevelosh.com>
date Sat, 04 Nov 2017 13:49:42 -0400
parents a5de24e85f19
children 0cd848f60230
.PHONY: vendor binary

# Vendor ----------------------------------------------------------------------
vendor/quickutils.lisp: vendor/make-quickutils.lisp
	cd vendor && sbcl --noinform --load make-quickutils.lisp  --eval '(quit)'

vendor: vendor/quickutils.lisp


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

binary: build/magitek

build/magitek: $(lisps)
	ros build build/magitek.ros

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

deploy: build/magitek
	rsync --exclude=build/magitek --exclude=.hg --exclude=database.sqlite --exclude=corpora -avz . jam:/home/sjl/magitek
	ssh jam make -C /home/sjl/magitek update-deps
	ssh jam make -C /home/sjl/magitek build/magitek