X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=464cd988bef3ca242e3f0034cbb68c96721a0cb2;hb=00492a0801eb93ad98be496585741a025ffea16b;hp=cdd7a339e8e72581a16b4952e56f9bbeafabd09b;hpb=c411c7ec71be0263a958c0803772cd6068e6bdad;p=fw%2Faltos diff --git a/doc/Makefile.am b/doc/Makefile.am index cdd7a339..464cd988 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -17,6 +17,8 @@ FAKETIME=TZ=UTC faketime -f '$(RELEASE_DATE) 00:00:00 i0' endif RELNOTES_INC=\ + release-notes-1.9.2.inc \ + release-notes-1.9.1.inc \ release-notes-1.9.inc \ release-notes-1.8.7.inc \ release-notes-1.8.6.inc \ @@ -277,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 @@ -287,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)