summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt/Util/keycap/Makefile
blob: c3d198b3c5853264c359b0b96ba990b7a74d0dc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
LIB	=	keycap
CAPDIR	=	$(DESTDIR)/usr/share/misc
CAPPATH	=	$(CAPDIR)/keycap.pcvt
KEYCAPSRC=	keycap.src
CFLAGS	+=	-DKEYCAP_PATH=\"$(CAPPATH)\"
SRCS	=	keycap.c
MAN3	=	keycap.${MAN3EXT}
MAN5	=	keycap.${MAN5EXT}
#CLEANFILES+=	keycap.0 keycap.0

beforeinstall:
	@if [ ! -d ${DESTDIR}${LIBDIR} ]; then mkdir ${DESTDIR}${LIBDIR};fi
	install -c -m ${LIBMODE} -o ${LIBOWN} -g ${LIBGRP} \
	${.CURDIR}/${KEYCAPSRC} ${CAPPATH}

.include <bsd.lib.mk>