X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/3dca7758421664a838c54b273bd9221f02072045..ad303446f43c0029e989a8a3d17c4936965d2c43:/src/Makefile.am?ds=sidebyside diff --git a/src/Makefile.am b/src/Makefile.am index 7b23dd8..2871ae9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -7,7 +7,7 @@ ###----- Licensing notice --------------------------------------------------- ### -### This file is part of the Sensble Object Design, an object system for C. +### This file is part of the Sensible Object Design, an object system for C. ### ### SOD is free software; you can redistribute it and/or modify ### it under the terms of the GNU General Public License as published by @@ -29,6 +29,9 @@ nobase_dist_pkglispsrc_DATA = $(LISP_SOURCES) LISP_SOURCES = SYSDEFS = +ASDF_ENV = \ + ASDF_OUTPUT_TRANSLATIONS=$$(cd $(srcdir); pwd):$(abs_builddir): + ###-------------------------------------------------------------------------- ### The source files. @@ -120,7 +123,7 @@ sod-frontend.asd: sod-frontend.asd.in Makefile bin_PROGRAMS += sod sod_SOURCES = sod: $(LISP_SOURCES) sod.asd sod-frontend.asd auto.lisp - $(V_DUMP)$(CL_LAUNCH) -o sod -d ! -l $(LISPSYS) +I \ + $(V_DUMP)$(ASDF_ENV) $(CL_LAUNCH) -o sod -d ! -l $(LISPSYS) +I \ -s sod-frontend -r sod-frontend:main ###-------------------------------------------------------------------------- @@ -150,13 +153,19 @@ sod-test.asd: sod-test.asd.in Makefile ## Running the Lisp tests. check-local: sod sod-test.asd - $(V_TEST)$(CL_LAUNCH) -l $(LISPSYS) -s sod-test +I \ + $(V_TEST)$(ASDF_ENV) $(CL_LAUNCH) -l $(LISPSYS) -s sod-test +I \ -i '(handler-case (asdf:test-system "sod") ;\ (error (cond) ;\ (format *error-output* "ERR: ~A~%" cond) ;\ (cl-launch:quit 1)))' ###-------------------------------------------------------------------------- +### Manual pages. + +dist_man_MANS += sod.1 +dist_man_MANS += sod-module.5 + +###-------------------------------------------------------------------------- ### Installation. ## We want a symlink $(lispsysdir)/sod.asd -> $(lispsrcdir)/sod/sod.asd. It