summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-01-06 16:23:24 -0500
committerTimo Teräs <timo.teras@iki.fi>2020-01-26 09:01:26 +0200
commit01ac041bb94fa63fa9d41272f1e560a42b6cbbab (patch)
tree0f69cc1c963f5f591147226f1761ebadb5fafd69 /doc/Makefile
parent980d2498779408a7ade3c49b5153bd8d2a446ad3 (diff)
downloadapk-tools-01ac041bb94fa63fa9d41272f1e560a42b6cbbab.tar.gz
apk-tools-01ac041bb94fa63fa9d41272f1e560a42b6cbbab.tar.bz2
apk-tools-01ac041bb94fa63fa9d41272f1e560a42b6cbbab.tar.xz
apk-tools-01ac041bb94fa63fa9d41272f1e560a42b6cbbab.zip
Initial riggings for man pages, add apk(8)
This commit sets up the build system to compile man pages with scdoc, and adds the first man page: apk(8).
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 0000000..be37b7d
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,8 @@
+$(obj)/%.8: $(src)/%.8.scd
+ $(SCDOC) < $< > $@
+
+docs: $(obj)/apk.8
+targets += docs
+
+install: docs
+ # TODO