diff options
Diffstat (limited to 'atc/Makefile')
-rw-r--r-- | atc/Makefile | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/atc/Makefile b/atc/Makefile index 363c811e..367a7e64 100644 --- a/atc/Makefile +++ b/atc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 1996/10/18 02:43:36 thorpej Exp $ +# $NetBSD: Makefile,v 1.11 1997/03/24 22:15:37 christos Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= atc @@ -13,17 +13,8 @@ GAMES= ATC_scores Game_List Killer crossover default easy game_2 \ game_4 novice two-corners CLEANFILES=grammar.c y.tab.h lex.c HIDEGAME=hidegame - -beforeinstall: - @if [ ! -d ${DESTDIR}/usr/share/games/atc ]; then \ - /bin/rm -f ${DESTDIR}/usr/share/games/atc ; \ - mkdir -p ${DESTDIR}/usr/share/games/atc ; \ - chown root.wheel ${DESTDIR}/usr/share/games/atc ; \ - chmod 755 ${DESTDIR}/usr/share/games/atc ; \ - else \ - true ; \ - fi - (cd ${.CURDIR}/games; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 400 \ - ${GAMES} ${DESTDIR}/usr/share/games/atc) +FILES=${GAMES:S@^@${.CURDIR}/games/@g} +FILESDIR=/usr/share/games/atc +FILESMODE=400 .include <bsd.prog.mk> |