mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 04:10:24 +00:00
Provide installable man pages
make docs: generate Markdown and man pages in doc/ make install-docs: install man pages to be usable directly Docs are generated from the ezdoc files in doc/src/.
This commit is contained in:
parent
1a71a733c3
commit
078d686a0a
80 changed files with 2419 additions and 2512 deletions
11
erlang.mk
vendored
11
erlang.mk
vendored
|
@ -199,17 +199,6 @@ clean-deps:
|
|||
fi ; \
|
||||
done
|
||||
|
||||
# Documentation.
|
||||
|
||||
EDOC_OPTS ?=
|
||||
|
||||
docs: clean-docs
|
||||
$(gen_verbose) erl -noshell \
|
||||
-eval 'edoc:application($(PROJECT), ".", [$(EDOC_OPTS)]), init:stop().'
|
||||
|
||||
clean-docs:
|
||||
$(gen_verbose) rm -f doc/*.css doc/*.html doc/*.png doc/edoc-info
|
||||
|
||||
# Tests.
|
||||
|
||||
$(foreach dep,$(TEST_DEPS),$(eval $(call dep_target,$(dep))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue