]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix doc/misc Makefile for out-of-tree with relative path
authorGlenn Morris <rgm@gnu.org>
Sat, 27 Feb 2021 18:02:24 +0000 (10:02 -0800)
committerGlenn Morris <rgm@gnu.org>
Sat, 27 Feb 2021 18:02:24 +0000 (10:02 -0800)
* doc/misc/Makefile.in (org_template): Fix for relative srcdir.

doc/misc/Makefile.in

index d0225db9ba32bbd82f9876ba93eff7d77677c7ce..662537b4512324c074d9498d8b4837d7b6fc0be3 100644 (file)
@@ -239,7 +239,7 @@ define org_template
  $(1:.org=.texi): $(1)
        @rm -f $$@
        $${AM_V_GEN}cd "$${srcdir}" && $${emacs} -l ox-texinfo \
-         -f org-texinfo-export-to-texinfo-batch $$< $$@
+         -f org-texinfo-export-to-texinfo-batch $$(notdir $$<) $$(notdir $$@)
 endef
 
 $(foreach orgfile,${ORG_SRC},$(eval $(call org_template,$(orgfile))))