The load-module routine tries to interpret relative paths relative to
authorKen Raeburn <raeburn@raeburn.org>
Sun, 21 Feb 2010 20:35:37 +0000 (15:35 -0500)
committerKen Raeburn <raeburn@raeburn.org>
Thu, 4 Mar 2010 07:27:18 +0000 (02:27 -0500)
the module currently being loaded (i.e., make-texinfo.scm itself),
resulting in confusing behavior for offset builds.  So, don't use
them.

* doc/ref/Makefile.am ($(snarf_doc).texi): Use an absolute path for
  the input file.

doc/ref/Makefile.am

index a587343..5e9c5b5 100644 (file)
@@ -150,7 +150,7 @@ include standard-library.am
 $(snarf_doc).texi: $(standard_library_scm_files)
        GUILE_AUTO_COMPILE=0                            \
        "$(preinstguile)" "$(srcdir)/make-texinfo.scm"  \
-         "$(srcdir)/$(snarf_doc).scm" > "$@.tmp"
+         "$(abs_srcdir)/$(snarf_doc).scm" > "$@.tmp"
        mv "$@.tmp" "$@"
 
 CLEANFILES += $(snarf_doc).texi