HardenedBSD/share/syscons/scrnmaps/Makefile
Bruce Evans 9c0dc173cc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00

25 lines
564 B
Makefile

SCRMAPS = koi8-r2cp866.scm
SCRMAPS_MK = ${SCRMAPS:R:S/$/.mk/g}
SCRDIR = /usr/share/syscons/scrnmaps
CLEANFILES+= ${SCRMAPS_MK} ${SCRMAPS}
NOMAN = noman
all: ${SCRMAPS}
install:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SCRMAPS} \
${DESTDIR}${SCRDIR}
${SCRMAPS}: ${.TARGET:R}.mk
./${.TARGET:R}.mk ${.TARGET:R}.tmp
uuencode ${.TARGET:R}.tmp ${.TARGET:R} > ${.TARGET}
rm -f ${.TARGET:R}.tmp
${SCRMAPS_MK}: ${.TARGET:R} mkscrfil.c
${CC} ${CFLAGS} -I${.CURDIR} -DFIL=\"${.TARGET:R}\" \
-o ${.TARGET} ${.CURDIR}/mkscrfil.c
.include <bsd.prog.mk>