X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=464cd988bef3ca242e3f0034cbb68c96721a0cb2;hb=61d3064e7c4958036e241381aa4ab791582820f8;hp=2e9e652666d2249dd16329f13408ef99e7ce0bec;hpb=3055f698e0426d7785843ea1668478375fd02642;p=fw%2Faltos diff --git a/doc/Makefile.am b/doc/Makefile.am index 2e9e6526..464cd988 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -279,6 +279,8 @@ DOC=$(HTML) $(PDF) $(IMAGES) $(MAP_SVG_FILES) $(STYLESHEET) SUFFIXES = .dot .svg .inc .txt .adoc .pdf .html +ATTRIBUTES=--attribute="revdate=$(DOC_DATE)" --attribute="version=$(VERSION)" + .dot.svg: dot -Tsvg -o$@ $*.dot @@ -289,10 +291,10 @@ SUFFIXES = .dot .svg .inc .txt .adoc .pdf .html sed -e 's/^[ ]*//' -e 's/^\\//' $*.inc > $@ .adoc.html: - asciidoctor -b html5 $*.adoc + asciidoctor $(ATTRIBUTES) -b html5 $*.adoc .adoc.pdf: - asciidoctor-pdf $*.adoc + asciidoctor-pdf $(ATTRIBUTES) $*.adoc all: $(HTML) $(PDF)