$(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.
###--------------------------------------------------------------------------
### 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.
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