diff options
author | christos <christos@NetBSD.org> | 1997-03-24 22:15:37 +0000 |
---|---|---|
committer | christos <christos@NetBSD.org> | 1997-03-24 22:15:37 +0000 |
commit | 8f6735a7b8851d9f9e1e24b84f4db412ff678e37 (patch) | |
tree | a7f36a113867b96038905924e459d9438fb281ca /atc/Makefile | |
parent | ede881fe14b692e673852957afbc06dfbcff3d86 (diff) | |
download | bsdgames-darwin-8f6735a7b8851d9f9e1e24b84f4db412ff678e37.tar.gz bsdgames-darwin-8f6735a7b8851d9f9e1e24b84f4db412ff678e37.tar.zst bsdgames-darwin-8f6735a7b8851d9f9e1e24b84f4db412ff678e37.zip |
- Makefile cleanups
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> |