blob: 67d8968427ae2d521fff92fa89d1a970e22f8dc2 (
plain) (
tree)
|
|
# Copyright (c) 2013-2016, Loïc Hoguin <[email protected]>
# This file is part of erlang.mk and subject to the terms of the ISC License.
.PHONY: distclean-edoc edoc
# Configuration.
EDOC_OPTS ?=
# Core targets.
ifneq ($(wildcard doc/overview.edoc),)
docs:: edoc
endif
distclean:: distclean-edoc
# Plugin-specific targets.
edoc: distclean-edoc doc-deps
$(gen_verbose) $(ERL) -eval 'edoc:application($(PROJECT), ".", [$(EDOC_OPTS)]), halt().'
distclean-edoc:
$(gen_verbose) rm -f doc/*.css doc/*.html doc/*.png doc/edoc-info
|