]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix a doc/misc clean rule
authorGlenn Morris <rgm@gnu.org>
Thu, 4 Mar 2021 03:58:47 +0000 (19:58 -0800)
committerGlenn Morris <rgm@gnu.org>
Thu, 4 Mar 2021 03:58:47 +0000 (19:58 -0800)
* doc/misc/Makefile.in (TEXI_FROM_ORG): New variable.
(orgclean): Fix rule.

doc/misc/Makefile.in

index 060bffa638b915aa667f368e96202a3d747c17ed..ed33364440db2c144e39afa6503b5b42bcb243ed 100644 (file)
@@ -87,6 +87,7 @@ INFO_TARGETS = $(INFO_COMMON) efaq-w32
 ## are not as well formatted as handwritten ones.
 ORG_SETUP = $(wildcard ${srcdir}/*-setup.org)
 ORG_SRC = $(filter-out ${ORG_SETUP},$(wildcard ${srcdir}/*.org))
+TEXI_FROM_ORG = ${ORG_SRC:.org=.texi}
 
 # There are some naming differences between the info targets and the other
 # targets, so let's resolve them here.
@@ -278,7 +279,7 @@ infoclean:
 .PHONY: orgclean
 
 orgclean:
-       rm -f $(addprefix ${srcdir}/,${ORG_SRC:=.texi})
+       rm -f ${TEXI_FROM_ORG}
 
 bootstrap-clean maintainer-clean: distclean infoclean orgclean