Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/atari/stand/keymaps Build the keymap-generating pro...
details: https://anonhg.NetBSD.org/src/rev/4e5e3b75007b
branches: trunk
changeset: 525699:4e5e3b75007b
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Mon Apr 15 17:27:33 2002 +0000
description:
Build the keymap-generating programs as hostprogs, since they're only run
on the host system and never installed.
Install the generated keymaps using <bsd.files.mk> rather than by hand, so
that all the UNPRIVED magic can work.
diffstat:
sys/arch/atari/stand/keymaps/Makefile.inc | 21 +++++++++------------
sys/arch/atari/stand/keymaps/de/Makefile | 6 +++---
sys/arch/atari/stand/keymaps/fr/Makefile | 6 +++---
sys/arch/atari/stand/keymaps/uk/Makefile | 6 +++---
sys/arch/atari/stand/keymaps/us/Makefile | 6 +++---
5 files changed, 21 insertions(+), 24 deletions(-)
diffs (88 lines):
diff -r 266d60ec89a1 -r 4e5e3b75007b sys/arch/atari/stand/keymaps/Makefile.inc
--- a/sys/arch/atari/stand/keymaps/Makefile.inc Mon Apr 15 17:05:13 2002 +0000
+++ b/sys/arch/atari/stand/keymaps/Makefile.inc Mon Apr 15 17:27:33 2002 +0000
@@ -1,15 +1,12 @@
-# $NetBSD: Makefile.inc,v 1.4 1997/07/15 08:42:21 leo Exp $
-MAN=
-INSTDIR=/usr/share/keymaps/atari
-BINDIR=${.CURDIR}
+# $NetBSD: Makefile.inc,v 1.5 2002/04/15 17:27:33 bjh21 Exp $
-all: ${PROG} ${MAP}
+realall: ${MAP}
-${MAP}: ${PROG}
-
-proginstall:
+${MAP}: ${HOSTPROG}
+ ./${HOSTPROG} > ${MAP}
-realinstall: ${MAP}
- ./${PROG} > ${DESTDIR}${INSTDIR}/${MAP}
- chmod 444 ${DESTDIR}${INSTDIR}/${MAP}
- chown ${BINOWN}.${BINGRP} ${DESTDIR}${INSTDIR}/${MAP}
+CLEANFILES+=${MAP}
+FILES=${MAP}
+FILESDIR=/usr/share/keymaps/atari
+
+.include <bsd.files.mk>
diff -r 266d60ec89a1 -r 4e5e3b75007b sys/arch/atari/stand/keymaps/de/Makefile
--- a/sys/arch/atari/stand/keymaps/de/Makefile Mon Apr 15 17:05:13 2002 +0000
+++ b/sys/arch/atari/stand/keymaps/de/Makefile Mon Apr 15 17:27:33 2002 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 1996/06/22 20:14:12 leo Exp $
+# $NetBSD: Makefile,v 1.2 2002/04/15 17:27:34 bjh21 Exp $
-PROG=de-kbdmap
+HOSTPROG=de-kbdmap
MAP=de.map
MAN=
-.include <bsd.prog.mk>
+.include <bsd.hostprog.mk>
diff -r 266d60ec89a1 -r 4e5e3b75007b sys/arch/atari/stand/keymaps/fr/Makefile
--- a/sys/arch/atari/stand/keymaps/fr/Makefile Mon Apr 15 17:05:13 2002 +0000
+++ b/sys/arch/atari/stand/keymaps/fr/Makefile Mon Apr 15 17:27:33 2002 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 1996/06/22 20:14:11 leo Exp $
+# $NetBSD: Makefile,v 1.2 2002/04/15 17:27:34 bjh21 Exp $
-PROG=fr-kbdmap
+HOSTPROG=fr-kbdmap
MAP=fr.map
MAN=
-.include <bsd.prog.mk>
+.include <bsd.hostprog.mk>
diff -r 266d60ec89a1 -r 4e5e3b75007b sys/arch/atari/stand/keymaps/uk/Makefile
--- a/sys/arch/atari/stand/keymaps/uk/Makefile Mon Apr 15 17:05:13 2002 +0000
+++ b/sys/arch/atari/stand/keymaps/uk/Makefile Mon Apr 15 17:27:33 2002 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 1996/06/22 20:14:10 leo Exp $
+# $NetBSD: Makefile,v 1.2 2002/04/15 17:27:34 bjh21 Exp $
-PROG=uk-kbdmap
+HOSTPROG=uk-kbdmap
MAP=uk.map
MAN=
-.include <bsd.prog.mk>
+.include <bsd.hostprog.mk>
diff -r 266d60ec89a1 -r 4e5e3b75007b sys/arch/atari/stand/keymaps/us/Makefile
--- a/sys/arch/atari/stand/keymaps/us/Makefile Mon Apr 15 17:05:13 2002 +0000
+++ b/sys/arch/atari/stand/keymaps/us/Makefile Mon Apr 15 17:27:33 2002 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 1996/06/22 20:14:11 leo Exp $
+# $NetBSD: Makefile,v 1.2 2002/04/15 17:27:34 bjh21 Exp $
-PROG=us-kbdmap
+HOSTPROG=us-kbdmap
MAP=us.map
MAN=
-.include <bsd.prog.mk>
+.include <bsd.hostprog.mk>
Home |
Main Index |
Thread Index |
Old Index