Browse Source

doc: Improve 'scute.html' generation.

* doc/manual/Makefile.am: Override the implicit rule for the html
generation, and copy the images into the built documentation.
--
Previously, all the images were missing from the manual.

Signed-off-by: Justus Winter <justus@g10code.com>
Justus Winter 9 years ago
parent
commit
fbaa9d20ba
1 changed files with 6 additions and 0 deletions
  1. 6 0
      doc/manual/Makefile.am

+ 6 - 0
doc/manual/Makefile.am

@@ -45,6 +45,12 @@ CLEANFILES = $(images_pdf) $(images_eps)
 info_TEXINFOS = scute.texi
 scute_TEXINFOS = gpl.texi
 
+scute.html: scute.texi $(foreach i,$(images),scute.html/$(i))
+	$(MAKEINFO) --html --output "$@" "$<"
+scute.html/%.png: %.png
+	@mkdir -p scute.html
+	cp -v "$<" "$@"
+
 scute.dvi: $(images_eps)
 scute.pdf: $(images_pdf)