diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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 |