From 10ff488eb96544074c88ba1aae26025b425dba58 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Tue, 24 Mar 2015 20:59:04 -0700 Subject: docs: Use automatically retrieved version for docs This eliminates one more hardcoded version from the repo, yay! --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ed2f50d..0e64129 100644 --- a/Makefile +++ b/Makefile @@ -71,6 +71,6 @@ $(BUILD)/%.o: % .SECONDEXPANSION: docs/%.html: docs/%.adoc $$(shell sed -n 's/include\:\:\(.*\)\[.*/docs\/\1/p' docs/%.adoc) - asciidoctor -b html5 $< -o $@ + asciidoctor -b html5 -a version=$(VERSION) $< -o $@ .PHONY: all test clean release .FORCE -- cgit v1.2.3