summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-03-21 21:06:48 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-03-21 21:06:48 -0700
commitd8f900f148f9ef31f9ee214ba6dafad8d088503e (patch)
tree51c6761958ac88e9f193654b88312b612d5fbabc
parenteed184a175accd8be158b3b7951f8cd9eec7105f (diff)
Add docs target to Makefile
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6857dcb..b43a641 100644
--- a/Makefile
+++ b/Makefile
@@ -55,6 +55,11 @@ clean:
release: build/pugixml-$(VERSION).tar.gz build/pugixml-$(VERSION).zip
+docs: docs/quickstart.html docs/manual.html
+
+docs/%.html: docs/%.adoc
+ asciidoctor -b html5 $< -o $@
+
build/pugixml-%: .FORCE | $(RELEASE)
perl tests/archive.pl $@ $|