* demo/Makefile.am, interfaces/xmaxima/Makefile.am, share/Makefile.am,
tests/Makefile.am: Use $^, $(VPATH) and $(abspath …) to get the
correct path.
* lisp-utils/defsystem.lisp (compute-system-path): Do not add relative
paths to modules.
* share/logic/Makefile.am (logic-index.lisp): Find script via
$(top_srcdir) instead of relative to the build directory.
* common-html.mk: Refactor HTML generation along the same lines as
previously done in common.mk.
* common-info.mk: Like common-html.mk, just for info generation.
* doc/info/common-lang.mk, doc/info/common-lang-recode.mk: Refactoring
for easier re-use. Use $^ and $< as appropriate where possible for
getting the correct path for dependencies.
(LANGSRCDIR, LANGBUILDDIR): Introduce variables to address the
correct path as necessary. Use $(wildcard …) instead of globbing
and remove unused targets.
* doc/info/Makefile.am: Include common-info.mk and use $^, $< and
$(srcdir) as appropriate to get the correct path. Use $(wildcard …)
instead of globbing.
(maxima.info): Hand through $(AM_MAKEINFOFLAGS) and
$(MAKEINFOFLAGS).
(maxima.html): Create the script to extract categories in place so
the path information can be recorded properly and execute it.
* doc/info/de.utf8/Makefile.am, doc/info/de/Makefile.am,
doc/info/es/Makefile.am, doc/info/pt.utf8/Makefile.am,
doc/info/pt/Makefile.am, doc/info/pt_BR.utf8/Makefile.am,
doc/info/pt_BR/Makefile.am: Just set INFOLANG and include
common-lang.mk.