]> git.eshelyaron.com Git - emacs.git/commitdiff
* doc/misc/Makefile.in (echo-sources): New phony target.
authorGlenn Morris <rgm@gnu.org>
Thu, 4 Mar 2021 18:44:07 +0000 (10:44 -0800)
committerGlenn Morris <rgm@gnu.org>
Thu, 4 Mar 2021 18:44:07 +0000 (10:44 -0800)
doc/misc/Makefile.in

index ed33364440db2c144e39afa6503b5b42bcb243ed..87d87bf20056924a576b381803d60a3f9db672c0 100644 (file)
@@ -94,6 +94,15 @@ TEXI_FROM_ORG = ${ORG_SRC:.org=.texi}
 TARGETS_1 = $(INFO_INSTALL:ccmode=cc-mode)
 TARGETS = $(TARGETS_1:info.info=info)
 
+texi_sources = $(addsuffix .texi,${TARGETS})
+texi_notgen = $(filter-out $(notdir ${TEXI_FROM_ORG}),${texi_sources})
+texi_and_org = $(notdir ${ORG_SRC}) ${texi_notgen}
+SOURCES = $(sort ${texi_and_org})
+.PHONY: echo-sources
+## Used by the top-level Makefile.
+echo-sources:
+       @echo ${SOURCES}
+
 DVI_TARGETS  = $(TARGETS:=.dvi)
 HTML_TARGETS = $(TARGETS:=.html)
 PDF_TARGETS  = $(TARGETS:=.pdf)