2015-09-21 08:52:41 -07:00
|
|
|
all: doc
|
|
|
|
|
|
|
|
.PHONY: all doc clean
|
|
|
|
|
2016-03-25 09:54:24 -07:00
|
|
|
doc: output
|
2015-09-21 08:52:41 -07:00
|
|
|
|
2017-08-22 16:13:22 -07: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 08:52:41 -07:00
|
|
|
rm -rf $@
|
2016-03-25 09:54:24 -07:00
|
|
|
doxygen Doxyfile
|
2015-09-21 08:52:41 -07:00
|
|
|
|
|
|
|
clean:
|
2017-08-22 16:13:22 -07:00
|
|
|
rm -rf output changelog.md
|