2014-03-22 17:22:29 +00:00
|
|
|
EXTRA_DIST = api.md
|
|
|
|
|
|
|
|
dist_man_MANS = libucl.3
|
|
|
|
|
|
|
|
gen-man: @PANDOC@
|
|
|
|
tail -n +$$(grep -n '# Synopsis' api.md | cut -d':' -f1) api.md | \
|
2015-10-27 21:19:11 +00:00
|
|
|
cat pandoc.template - | sed -e 's/^# \(.*\)/# \U\1/' \
|
2015-03-02 21:35:31 +00:00
|
|
|
-e "s/%%date%%/$$(LANG=C date +'%d %B, %Y')/" | \
|
2015-10-27 21:19:11 +00:00
|
|
|
@PANDOC@ -s -f markdown -t man -o libucl.3
|