2018-06-18 14:59:02 +00:00
|
|
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/..)
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
|
|
|
|
2015-09-21 15:52:41 +00:00
|
|
|
all: doc
|
2018-02-14 21:59:51 +00:00
|
|
|
@:
|
2015-09-21 15:52:41 +00:00
|
|
|
|
|
|
|
.PHONY: all doc clean
|
|
|
|
|
2016-03-25 16:54:24 +00:00
|
|
|
doc: output
|
2015-09-21 15:52:41 +00:00
|
|
|
|
2017-08-22 23:13:22 +00:00
|
|
|
changelog.md: ../CHANGELOG.md
|
2018-06-18 14:59:02 +00:00
|
|
|
$(Q)sed -e 's/^# Changelog/# Changelog {#changelog}/' \
|
2017-08-22 23:13:22 +00:00
|
|
|
-e 's/^##/#/' \
|
|
|
|
-e 's/^# \(\(v..\...\):.*\)/# \1 {#changelog-\2}/' \
|
|
|
|
-e '/# v..\...:/s/\./-/2' \
|
|
|
|
< $< > $@
|
|
|
|
|
2018-02-14 21:59:51 +00:00
|
|
|
output: Doxyfile changelog.md $(wildcard *.md) $(wildcard ../include/spdk/*.h)
|
2018-06-18 14:59:02 +00:00
|
|
|
$(Q)rm -rf $@
|
|
|
|
$(Q)doxygen Doxyfile
|
2015-09-21 15:52:41 +00:00
|
|
|
|
|
|
|
clean:
|
2018-06-18 14:59:02 +00:00
|
|
|
$(Q)rm -rf output changelog.md
|