3 # Copyright (C) 2011-2012 by Werner Lemberg.
5 # This file is part of the ttfautohint library, and may only be used,
6 # modified, and distributed under the terms given in `COPYING'. By
7 # continuing to use, modify, or distribute this file you indicate that you
8 # have read `COPYING' and understand and accept it fully.
10 # The file `COPYING' mentioned in the previous paragraph is distributed
11 # with the ttfautohint library.
13 DOCSRC = ttfautohint-1.pandoc \
14 ttfautohint-2.pandoc \
17 DOCIMAGES = img/ttfautohintGUI.png
19 DOCGEN = ttfautohint.html
21 DOCGEN += ttfautohint.pdf
25 nobase_dist_doc_DATA = $(DOCSRC) \
31 ttfautohint-2.pandoc: $(top_srcdir)/lib/ttfautohint.h
32 $(SED) -f $(srcdir)/c2pandoc.sed < $< > $@
34 ttfautohint.html: $(DOCSRC) $(DOCIMAGES) ttfautohint.css
35 $(PANDOC) --toc -H ttfautohint.css -S -s -o $@ $(DOCSRC)
38 ttfautohint.pdf: $(DOCSRC) $(DOCIMAGES)
39 $(PANDOC) --latex-engine=$(PDFLATEX) --toc -S -s -o $@ $(DOCSRC)