You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
545B

  1. # doc/src/sgml/images/Makefile
  2. #
  3. # see README in this directory about image handling
  4. ALL_IMAGES = \
  5. gin.svg \
  6. pagelayout.svg
  7. DITAA = ditaa
  8. DOT = dot
  9. XSLTPROC = xsltproc
  10. all: $(ALL_IMAGES)
  11. %.svg.tmp: %.gv
  12. $(DOT) -T svg -o $@ $<
  13. %.svg.tmp: %.txt
  14. $(DITAA) -E -S --svg $< $@
  15. # Post-processing for SVG files coming from other tools
  16. #
  17. # Use --novalid to avoid loading SVG DTD if a file specifies it, since
  18. # it might not be available locally, and we don't need it.
  19. %.svg: %.svg.tmp fixup-svg.xsl
  20. $(XSLTPROC) --novalid -o $@ $(word 2,$^) $<