X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/6e21a5d25bca57a78f052d6a24b97b88e83cc6fb..3da7d5a7e9ce7effb472f7bf0f09ee71dd84ac9b:/src/Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am index e13f157..0dfb320 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -127,6 +127,9 @@ sod$(EXEEXT): $(LISP_SOURCES) sod.asd sod-frontend.asd auto.lisp $(V_DUMP)$(ASDF_ENV) $(CL_LAUNCH) -o $@ -d ! -l $(LISPSYS) +I \ -s sod-frontend -r sod-frontend:main +## The executable is needed if we're just distributing. +dist-hook: sod$(EXEEXT) + ###-------------------------------------------------------------------------- ### Unit testing. @@ -167,8 +170,9 @@ check-local: sod sod-test.asd ###-------------------------------------------------------------------------- ### Manual pages. -dist_man_MANS += sod.1 -dist_man_MANS += sod-module.5 +man_MANS += sod.1 sod-module.5 +CLEANFILES += sod.1 sod-module.5 +EXTRA_DIST += sod.1.in sod-module.5.in ###-------------------------------------------------------------------------- ### Installation. @@ -212,4 +216,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 --------------------------------------------------