docs.mk 516 B

1234567891011121314151617181920
  1. # Copyright (c) 2016, Loïc Hoguin <essen@ninenines.eu>
  2. # Copyright (c) 2015, Viktor Söderqvist <viktor@zuiderkwast.se>
  3. # This file is part of erlang.mk and subject to the terms of the ISC License.
  4. .PHONY: docs-deps
  5. # Configuration.
  6. ALL_DOC_DEPS_DIRS = $(addprefix $(DEPS_DIR)/,$(DOC_DEPS))
  7. # Targets.
  8. $(foreach dep,$(DOC_DEPS),$(eval $(call dep_target,$(dep))))
  9. ifneq ($(SKIP_DEPS),)
  10. doc-deps:
  11. else
  12. doc-deps: $(ALL_DOC_DEPS_DIRS)
  13. $(verbose) for dep in $(ALL_DOC_DEPS_DIRS) ; do $(MAKE) -C $$dep; done
  14. endif