Introduce 'make doc' -> 'make docs'

Because 'doc' is a directory, when running `make doc`, you'll see
this:

    make: Nothing to be done for `doc'.

By adding a target for `doc` to build `docs`, both work.

Fixes #14705
This commit is contained in:
Steve Klabnik 2015-09-02 18:03:17 -04:00
parent ef02ffa9fb
commit 7c8c72d3b0
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ ifdef CFG_DISABLE_DOCS
endif
docs: $(DOC_TARGETS)
doc: docs
compiler-docs: $(COMPILER_DOC_TARGETS)
trpl: doc/book/index.html