From: Alan T. DeKok Date: Wed, 13 Jan 2021 21:41:39 +0000 (-0500) Subject: install the docs on `make install` target X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=daf509edaf3aafebd38a5bfcbcfdcd0963cd1f6b;p=thirdparty%2Ffreeradius-server.git install the docs on `make install` target --- diff --git a/doc/all.mk b/doc/all.mk index d19a8a6ba20..1adde63bb56 100644 --- a/doc/all.mk +++ b/doc/all.mk @@ -6,7 +6,7 @@ # to fix that. So, only run those shell scripts if we're going to # build the documentation. # -WITH_DOC := $(strip $(foreach x,doc html man pdf doxygen,$(findstring $(x),$(MAKECMDGOALS)))) +WITH_DOC := $(strip $(foreach x,install doc html man pdf doxygen,$(findstring $(x),$(MAKECMDGOALS)))) ifneq "$(WITH_DOC)" "" # @@ -171,7 +171,7 @@ test.doc: ifneq "$(DOXYGEN)" "" ifneq "$(GRAPHVIZ_DOT)" "" .PHONY: doxygen -doxygen: +doxygen doc/doxygen/html/index.html: @echo DOXYGEN $(DOXYGEN_DIR) ${Q}mkdir -p $(DOXYGEN_HTML_DIR) ${Q}(cd $(DOXYGEN_DIR) && $(DOXYGEN))