X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/9bd7c3e92e3db5eeac695c52d8917677439b7b79..944bf9362ff51217b1617f85126d26e821b8aa91:/src/Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am index 053ca1c..30ba76e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,6 +30,7 @@ LISP_SOURCES = SYSDEFS = ASDF_ENV = \ + CL_SOURCE_REGISTRY=$$(pwd): \ ASDF_OUTPUT_TRANSLATIONS=$$(cd $(srcdir); pwd):$(abs_builddir): ###-------------------------------------------------------------------------- @@ -153,11 +154,15 @@ sod-test.asd: sod-test.asd.in Makefile ## Running the Lisp tests. check-local: sod sod-test.asd - $(V_TEST)$(ASDF_ENV) $(CL_LAUNCH) -l $(LISPSYS) -s sod-test +I \ - -i '(handler-case (asdf:test-system "sod") ;\ + $(V_TEST)$(ASDF_ENV) $(CL_LAUNCH) -l $(LISPSYS) \ + -s sod-frontend +I \ + -i '(handler-case ;\ + (progn ;\ + (asdf:load-system "sod-test") ;\ + (asdf:test-system "sod")) ;\ (error (cond) ;\ (format *error-output* "ERR: ~A~%" cond) ;\ - (cl-launch:quit 1)))' + (optparse:exit 1)))' ###-------------------------------------------------------------------------- ### Manual pages. @@ -207,4 +212,18 @@ uninstall-local: rm -f $(DESTDIR)$(pkglispsrcdir)/$$i $(DESTDIR)$(lispsysdir)/$$i; \ done +###-------------------------------------------------------------------------- +### Additional random things useful during development. + +## ASDF hacking for finding the system definitions. +EXTRA_DIST += asdf-hack.lisp.in +noinst_DATA += asdf-hack.lisp +asdf-hack.lisp: asdf-hack.lisp.in Makefile + $(SUBST) $(srcdir)/asdf-hack.lisp.in >$@.new $(SUBSTITUTIONS) && \ + mv $@.new $@ +CLEANFILES += asdf-hack.lisp + +## Emacs hacking for indentation. +EXTRA_DIST += emacs-hacks.el + ###----- That's all, folks --------------------------------------------------