summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/stand/loadkmap/Makefile.inc
blob: 9fe957060e206c16169e580b948d06137a9221e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $OpenBSD: Makefile.inc,v 1.4 1997/01/16 09:27:06 niklas Exp $
# $NetBSD: Makefile.inc,v 1.2 1996/06/21 21:55:53 is Exp $

BINDIR=	${DESTDIR}/usr/share/keymaps/amiga
NOMAN=
CC=	${HOSTCC}

# XXX making dirs should be handled by mtree
realinstall: ${PROG}
.if !exists(${BINDIR})
	mkdir -p ${BINDIR}
.endif
	./${PROG} > ${BINDIR}/${MAP}
	chmod 555 ${BINDIR}/${MAP}
	chown ${BINOWN}.${BINGRP} ${BINDIR}/${MAP}