doc/Makefile: include mk/spdk.common.mk

This allows us to use the $(Q) variable in this Makefile.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I1f9c54fb8c995bdee9749683b409152472366cbc

Reviewed-on: https://review.gerrithub.io/415872
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Jim Harris 2018-06-18 07:59:02 -07:00 committed by Ben Walker
parent 81ad240df5
commit f387d32133

View File

@ -1,3 +1,6 @@
SPDK_ROOT_DIR := $(abspath $(CURDIR)/..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
all: doc
@:
@ -6,15 +9,15 @@ all: doc
doc: output
changelog.md: ../CHANGELOG.md
sed -e 's/^# Changelog/# Changelog {#changelog}/' \
$(Q)sed -e 's/^# Changelog/# Changelog {#changelog}/' \
-e 's/^##/#/' \
-e 's/^# \(\(v..\...\):.*\)/# \1 {#changelog-\2}/' \
-e '/# v..\...:/s/\./-/2' \
< $< > $@
output: Doxyfile changelog.md $(wildcard *.md) $(wildcard ../include/spdk/*.h)
rm -rf $@
doxygen Doxyfile
$(Q)rm -rf $@
$(Q)doxygen Doxyfile
clean:
rm -rf output changelog.md
$(Q)rm -rf output changelog.md