X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=doc%2FMakefile.am;fp=doc%2FMakefile.am;h=464cd988bef3ca242e3f0034cbb68c96721a0cb2;hp=2e9e652666d2249dd16329f13408ef99e7ce0bec;hb=8011baae420bb96ec487bfb343a761af70dd980d;hpb=a74e4816b669346fac1c72cfc629d11e2ca5e336 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)