summaryrefslogtreecommitdiff
path: root/Make.rules
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 /Make.rules
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 'Make.rules')
-rw-r--r--Make.rules5
1 files changed, 3 insertions, 2 deletions
diff --git a/Make.rules b/Make.rules
index 7f33e0a..aab5f71 100644
--- a/Make.rules
+++ b/Make.rules
@@ -67,6 +67,7 @@ CROSS_COMPILE ?=
CC := $(CROSS_COMPILE)gcc
AR := $(CROSS_COMPILE)ar
LD := $(CROSS_COMPILE)ld
+SCDOC := scdoc
INSTALL := install
INSTALLDIR := $(INSTALL) -d
@@ -77,7 +78,7 @@ CFLAGS_ALL += $(CFLAGS)
LDFLAGS ?= -g
LDFLAGS_ALL += $(LDFLAGS)
-export CC AR LD INSTALL INSTALLDIR CFLAGS_ALL LDFLAGS_ALL
+export CC AR LD SCDOC INSTALL INSTALLDIR CFLAGS_ALL LDFLAGS_ALL
build :=
@@ -106,7 +107,7 @@ endif
##
# Rules and helpers
-PHONY += all compile install clean FORCE
+PHONY += all compile install clean docs FORCE
# Convinient variables
comma := ,