Utilize bsd.files.mk.

This commit is contained in:
ru 2005-01-28 16:22:46 +00:00
parent e68efdc747
commit 84fabcb71a

View File

@ -9,16 +9,12 @@ MLINKS+= keycap.3 kgetent.3 \
MAN+= man5/keycap.5
SRCS= keycap.c
KEYCAPSRC= keycap.src
CAPDIR= /usr/share/misc
CAPPATH= $(CAPDIR)/keycap.pcvt
FILES= keycap.src
FILESDIR= /usr/share/misc
FILESNAME= keycap.pcvt
CFLAGS+= -DKEYCAP_PATH=\"$(CAPPATH)\"
CFLAGS+= -DKEYCAP_PATH=\"${FILESDIR}/${FILESNAME}\"
#CLEANFILES+= keycap.0 man5/keycap.0
beforeinstall:
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${.CURDIR}/${KEYCAPSRC} ${DESTDIR}${CAPPATH}
.include <bsd.lib.mk>