Commit f387d321 authored by Jim Harris's avatar Jim Harris Committed by Ben Walker
Browse files

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



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

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

Reviewed-on: https://review.gerrithub.io/415872


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 81ad240d
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
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