recovered
[rrq/lsp-utils.git] / archive.mk
1 # This Makfile include file provides default setup for archive
2 # subdiratory, which typically would start with the follwing lines:
3 #
4 # ARCHIVES = .... # some .a files
5 # include ../archive.mk
6
7 DOCS = ${ARCHIVES:=.8.adoc}
8
9 default: ${ARCHIVES} ${DOCS}
10
11 %.8.adoc:
12         echo "== ${@:.8.adoc=(8)}" >> $@
13
14 %.8: %.8.adoc
15         asciidoctor -b manpage $<
16
17 clean:
18         rm -f ${ARCHIVES} ${DOCS}