From e6918187568dbd01842d8d1d2c808ce16a894239 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 21 Apr 2024 13:54:28 +0200 Subject: Adding upstream version 18.2.2. Signed-off-by: Daniel Baumann --- src/spdk/doc/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/spdk/doc/Makefile (limited to 'src/spdk/doc/Makefile') diff --git a/src/spdk/doc/Makefile b/src/spdk/doc/Makefile new file mode 100644 index 000000000..ec3f396d9 --- /dev/null +++ b/src/spdk/doc/Makefile @@ -0,0 +1,23 @@ +SPDK_ROOT_DIR := $(abspath $(CURDIR)/..) +include $(SPDK_ROOT_DIR)/mk/spdk.common.mk + +all: doc + @: + +.PHONY: all doc clean + +doc: output + +changelog.md: ../CHANGELOG.md + $(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) + $(Q)rm -rf $@ + $(Q)doxygen Doxyfile + +clean: + $(Q)rm -rf output changelog.md -- cgit v1.2.3