diff options
author | Loïc Hoguin <[email protected]> | 2016-12-02 17:21:41 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-12-02 17:21:41 +0100 |
commit | 25704cc22bc00639d622d9f39abdcab2bdcedabc (patch) | |
tree | 75b63790e9faf69e1aafc2dc05d6813a8cf7b465 /plugins/asciidoc.mk | |
parent | 0b1932ec65386d08a862cdfc3e01c4b23a7220a2 (diff) | |
download | erlang.mk-25704cc22bc00639d622d9f39abdcab2bdcedabc.tar.gz erlang.mk-25704cc22bc00639d622d9f39abdcab2bdcedabc.tar.bz2 erlang.mk-25704cc22bc00639d622d9f39abdcab2bdcedabc.zip |
Make asciideck a little more verbose2016.12.08
Diffstat (limited to 'plugins/asciidoc.mk')
-rw-r--r-- | plugins/asciidoc.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/asciidoc.mk b/plugins/asciidoc.mk index 6253994..5b32c91 100644 --- a/plugins/asciidoc.mk +++ b/plugins/asciidoc.mk @@ -48,6 +48,7 @@ MAN_VERSION ?= $(PROJECT_VERSION) define asciidoc2man.erl try [begin + io:format(" ADOC ~s~n", [F]), ok = asciideck:to_manpage(asciideck:parse_file(F), #{ compress => gzip, outdir => filename:dirname(F), @@ -56,7 +57,8 @@ try }) end || F <- [$(shell echo $(addprefix $(comma)\",$(addsuffix \",$1)) | sed 's/^.//')]], halt(0) -catch _:_ -> +catch C:E -> + io:format("Exception ~p:~p~nStacktrace: ~p~n", [C, E, erlang:get_stacktrace()]), halt(1) end. endef |