build/doc: add dependencies to 'output' rule

Make the docs depend on all of the public header files and Markdown
files.

Without this, the docs never get rebuilt without a manual 'make clean'.

While we're here, add '@:' to the 'all' rule to silence it.

Change-Id: I304a1bb30464d2a0a60a1c117b7be1f7e543e15c
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/399954
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
Daniel Verkamp 2018-02-14 14:59:51 -07:00
parent dc6f9571c1
commit f5fea785b0

View File

@ -1,4 +1,5 @@
all: doc
@:
.PHONY: all doc clean
@ -11,7 +12,7 @@ changelog.md: ../CHANGELOG.md
-e '/# v..\...:/s/\./-/2' \
< $< > $@
output: Doxyfile changelog.md
output: Doxyfile changelog.md $(wildcard *.md) $(wildcard ../include/spdk/*.h)
rm -rf $@
doxygen Doxyfile