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
|
|
|
|
sed -e 's/^# Changelog/# Changelog {#changelog}/' \
|
|
|
|
-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)
|
2015-09-21 15:52:41 +00:00
|
|
|
rm -rf $@
|
2016-03-25 16:54:24 +00:00
|
|
|
doxygen Doxyfile
|
2015-09-21 15:52:41 +00:00
|
|
|
|
|
|
|
clean:
|
2017-08-22 23:13:22 +00:00
|
|
|
rm -rf output changelog.md
|