Makefile @ 1a365d4ae7bc

Just go ahead and start the shopkeeper

We'll work on making it better when I'm less drunk.
author Steve Losh <steve@stevelosh.com>
date Wed, 18 Jan 2017 00:32:30 +0000
parents 824673714b91
children bd040b0b5943
.PHONY: vendor

# 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)$$')

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 update-deps
	rsync --exclude=build/magitek --exclude=.hg --exclude=database.sqlite --exclude=corpora -avz . silt:/home/sjl/magitek
	ssh silt make -C /home/sjl/magitek update-deps
	ssh silt make -C /home/sjl/magitek build/magitek