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:
parent
81ad240df5
commit
f387d32133
11
doc/Makefile
11
doc/Makefile
@ -1,3 +1,6 @@
|
|||||||
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/..)
|
||||||
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
||||||
|
|
||||||
all: doc
|
all: doc
|
||||||
@:
|
@:
|
||||||
|
|
||||||
@ -6,15 +9,15 @@ all: doc
|
|||||||
doc: output
|
doc: output
|
||||||
|
|
||||||
changelog.md: ../CHANGELOG.md
|
changelog.md: ../CHANGELOG.md
|
||||||
sed -e 's/^# Changelog/# Changelog {#changelog}/' \
|
$(Q)sed -e 's/^# Changelog/# Changelog {#changelog}/' \
|
||||||
-e 's/^##/#/' \
|
-e 's/^##/#/' \
|
||||||
-e 's/^# \(\(v..\...\):.*\)/# \1 {#changelog-\2}/' \
|
-e 's/^# \(\(v..\...\):.*\)/# \1 {#changelog-\2}/' \
|
||||||
-e '/# v..\...:/s/\./-/2' \
|
-e '/# v..\...:/s/\./-/2' \
|
||||||
< $< > $@
|
< $< > $@
|
||||||
|
|
||||||
output: Doxyfile changelog.md $(wildcard *.md) $(wildcard ../include/spdk/*.h)
|
output: Doxyfile changelog.md $(wildcard *.md) $(wildcard ../include/spdk/*.h)
|
||||||
rm -rf $@
|
$(Q)rm -rf $@
|
||||||
doxygen Doxyfile
|
$(Q)doxygen Doxyfile
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf output changelog.md
|
$(Q)rm -rf output changelog.md
|
||||||
|
Loading…
Reference in New Issue
Block a user