From 83d8b63b8abb46b374439c8c8571091968af6260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 25 Mar 2015 13:44:08 +0100 Subject: Update the guide A number of @todo remain in it and will be worked on shortly. The guide has been converted to Asciidoc and 'make asciidoc' will generate a PDF and a chunked HTML version. --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ef34191..a30f455 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,7 @@ PROJECT = gun # Options. -CT_SUITES = twitter ws CT_OPTS += -pa test -ct_hooks gun_ct_hook [] -boot start_sasl - PLT_APPS = ssl # Dependencies. @@ -20,3 +18,13 @@ dep_ct_helper = git https://github.com/extend/ct_helper.git master # Standard targets. include erlang.mk + +# AsciiDoc. + +asciidoc: + a2x -v -f pdf doc/src/guide/book.asciidoc && mv doc/src/guide/book.pdf doc/guide.pdf + a2x -v -f chunked doc/src/guide/book.asciidoc && mv doc/src/guide/book.chunked/* doc/ + rmdir doc/src/guide/book.chunked + +clean:: + $(gen_verbose) rm doc/guide.pdf doc/*.html doc/*.css -- cgit v1.2.3