diff options
author | Loïc Hoguin <[email protected]> | 2016-01-09 13:36:46 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-01-09 13:36:57 +0100 |
commit | cc78f53af903f4e8fad8ac24fcede593ab8f6651 (patch) | |
tree | 7f5a36ea9d0695c39fe90f3841a82bcff7fa8c4b /plugins | |
parent | fe4aa4cf2d3eec83b7b07ee08b2d776ff43d1671 (diff) | |
download | erlang.mk-cc78f53af903f4e8fad8ac24fcede593ab8f6651.tar.gz erlang.mk-cc78f53af903f4e8fad8ac24fcede593ab8f6651.tar.bz2 erlang.mk-cc78f53af903f4e8fad8ac24fcede593ab8f6651.zip |
Test and document EDoc
A change was made to the automatic EDoc generation when running
'make docs'. It is now only done if a doc/overview.edoc file
exists. This behavior can of course be enabled back by adding
it to the Makefile.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/edoc.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/edoc.mk b/plugins/edoc.mk index 6f0a82d..7b4331b 100644 --- a/plugins/edoc.mk +++ b/plugins/edoc.mk @@ -9,13 +9,15 @@ EDOC_OPTS ?= # Core targets. -docs:: distclean-edoc edoc +ifneq ($(wildcard doc/overview.edoc),) +docs:: edoc +endif distclean:: distclean-edoc # Plugin-specific targets. -edoc: doc-deps +edoc: distclean-edoc doc-deps $(gen_verbose) $(ERL) -eval 'edoc:application($(PROJECT), ".", [$(EDOC_OPTS)]), halt().' distclean-edoc: |