2015-09-21 15:52:41 +00:00
|
|
|
all: doc
|
|
|
|
|
|
|
|
.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' \
|
|
|
|
< $< > $@
|
|
|
|
|
|
|
|
output: Doxyfile changelog.md
|
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
|