# Targets: lisplab, tar, manual, tinaa, unit-test, svnversion, clean, distclean TARDIR=lisplab-0.1.0 # Makefile for admin tasks .PHONY: first, manual, touch, lispclean, clean, distclean, tinaa, unit-test, lisplab, svnversion first: @echo "Targets: lisplab, tar, manual, tinaa, unit-test, svnversion, clean, distclean" tar: mkdir /var/tmp/$(TARDIR) -cp -r . /var/tmp/$(TARDIR) -cd /var/tmp/ && tar czf $(TARDIR).tgz $(TARDIR) -rm -rf /var/tmp/$(TARDIR) lisplab: sbcl \ --eval "(require :lisplab)" \ --eval "(sb-ext::quit)" manual: make -C"doc/manual" all unit-test: sbcl \ --eval "(require :unit-test)" \ --eval "(ll-user::test-run ll-user::test-all)" \ --eval "(ll-user::test-report ll-user::test-all)" \ --eval "(sb-ext::quit)" tinaa: sbcl \ --eval "(require :tinaa)" \ --eval "(require :lisplab)" \ --eval "(tinaa:document-system 'asdf-system 'lisplab #P\"tinaa/\")" \ --eval "(sb-ext::quit)" svnversion: svnversion -n > SVNVERSION lispclean: -find . -name "*.fasl" -exec rm \{} \; clean: lispclean distclean: clean -find . -name "*~" -exec rm \{} \;