From 01ac041bb94fa63fa9d41272f1e560a42b6cbbab Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 6 Jan 2020 16:23:24 -0500 Subject: 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). --- Make.rules | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Make.rules') 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 := , -- cgit v1.2.3