From 91d10c96708d732145006dd2802acc4de08b632e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 17 Jun 2019 02:56:34 +0200 Subject: Makefile: Build info file after images. * Makefile.am (INFO_DEPS): Override. (EXTRA_DIST): Include pngs. --- Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index ba9876c..2531d36 100644 --- a/Makefile.am +++ b/Makefile.am @@ -51,11 +51,13 @@ dist_infoimage_DATA = \ # co. (info "(automake) Extending"). Using the `-local' rules is # imperfect, because they may be triggered after the main rule. Oh, # well. -pdf-local: $(DOC_IMAGES) -info-local: $(DOC_IMAGES) +pdf-local: $(DOC_IMAGES:%.scm=%.scm.png) +info-local: $(DOC_IMAGES:%.scm=%.scm.png) +INFO_DEPS = $(DOC_IMAGES:%.scm=%.scm.png) doc/picture-language.info EXTRA_DIST += \ $(DOC_IMAGES) \ + $(DOC_IMAGES:%.scm=%.scm.png) \ $(DOC_IMAGES:%.svg.scm=%.svg.scm.svg) \ doc/fdl-1.3.texi -- cgit v1.2.3