From: Glenn Morris Date: Sat, 27 Feb 2021 18:02:24 +0000 (-0800) Subject: Fix doc/misc Makefile for out-of-tree with relative path X-Git-Tag: emacs-28.0.90~3512 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a4d7235f1a22701f53d3ea9eb6a9da3cbe0cb46a;p=emacs.git Fix doc/misc Makefile for out-of-tree with relative path * doc/misc/Makefile.in (org_template): Fix for relative srcdir. --- diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in index d0225db9ba3..662537b4512 100644 --- a/doc/misc/Makefile.in +++ b/doc/misc/Makefile.in @@ -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))))