summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-06-17 02:56:34 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-06-17 02:56:34 +0200
commit91d10c96708d732145006dd2802acc4de08b632e (patch)
tree485c5f030856fabf43b23baa509e97be4709ec4d
parent9f393485097f63e5c7462809b4a14f4ff7afeb6c (diff)
Makefile: Build info file after images.
* Makefile.am (INFO_DEPS): Override. (EXTRA_DIST): Include pngs.
-rw-r--r--Makefile.am6
1 files 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