aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
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