summaryrefslogtreecommitdiffstats
path: root/customdhcpcd/src/mk/man.mk
blob: 5d9bf261849150c5552a4cece80d8e4f06f14d3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# rules to install manpages
# Copyright 2008 Roy Marples <roy@marples.name>

MANPREFIX?=	/usr/share
MANDIR?=	${MANPREFIX}/man/man
MANMODE?=	0444
MINSTALL?=	${INSTALL} -m ${MANMODE}

man: ${MAN}

# We cheat as all our pages go into section 8
maninstall: man
	${INSTALL} -d ${DESTDIR}${MANDIR}8
	for man in ${MAN}; do ${MINSTALL} $$man ${DESTDIR}${MANDIR}8; done