blob: 2bc5c2866097e59ee142b1f35b5b38f457debe2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
LIB = keycap
CAPDIR = /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} ${DESTDIR}${CAPPATH}
.include <bsd.lib.mk>
|