From f5284ed86d0500b99cc17d456bcee60b5ab265a5 Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 25 Jul 1995 00:37:58 +0000 Subject: Change `install' to `${INSTALL}' so that default install flags can be specified in the top level Makefiles. --- games/atc/Makefile | 2 +- games/caesar/Makefile | 2 +- games/cribbage/Makefile | 2 +- games/fish/Makefile | 2 +- games/hack/Makefile | 6 +++--- games/larn/Makefile | 4 ++-- games/phantasia/Makefile | 20 ++++++++++---------- games/quiz/Makefile | 4 ++-- games/robots/Makefile | 2 +- games/wargames/Makefile | 2 +- games/wump/Makefile | 2 +- 11 files changed, 24 insertions(+), 24 deletions(-) (limited to 'games') diff --git a/games/atc/Makefile b/games/atc/Makefile index e6433c4..80305a1 100644 --- a/games/atc/Makefile +++ b/games/atc/Makefile @@ -12,7 +12,7 @@ CLEANFILES=grammar.c y.tab.h lex.c HIDEGAME=hidegame beforeinstall: - (cd ${.CURDIR}/games; install -c -o ${BINOWN} -g ${BINGRP} -m 400 \ + (cd ${.CURDIR}/games; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 400 \ ${GAMES} ${DESTDIR}/usr/share/games/atc) .include diff --git a/games/caesar/Makefile b/games/caesar/Makefile index 13ff87d..2c1ff10 100644 --- a/games/caesar/Makefile +++ b/games/caesar/Makefile @@ -7,7 +7,7 @@ LDADD= -lm MLINKS= caesar.6 rot13.6 beforeinstall: - install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.CURDIR}/rot13.sh ${DESTDIR}/usr/games/rot13 .include diff --git a/games/cribbage/Makefile b/games/cribbage/Makefile index bb5ab6a..5d93bf6 100644 --- a/games/cribbage/Makefile +++ b/games/cribbage/Makefile @@ -8,7 +8,7 @@ MAN6= cribbage.6 HIDEGAME=hidegame beforeinstall: - install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/cribbage.n \ + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/cribbage.n \ ${DESTDIR}/usr/share/games/cribbage.instr .include diff --git a/games/fish/Makefile b/games/fish/Makefile index a57454f..fa2e419 100644 --- a/games/fish/Makefile +++ b/games/fish/Makefile @@ -5,7 +5,7 @@ MAN6= fish.6 HIDEGAME=hidegame beforeinstall: - install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/fish.instr \ + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/fish.instr \ ${DESTDIR}/usr/share/games/fish.instr .include diff --git a/games/hack/Makefile b/games/hack/Makefile index 6e9511c..037c24b 100644 --- a/games/hack/Makefile +++ b/games/hack/Makefile @@ -25,11 +25,11 @@ makedefs: makedefs.c ${CC} ${CFLAGS} -o ${.TARGET} ${.CURDIR}/${.PREFIX}.c beforeinstall: - install -c -o ${BINOWN} -g ${BINGRP} -m 666 /dev/null \ + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 666 /dev/null \ ${DESTDIR}/var/games/hackdir/perm - install -c -o ${BINOWN} -g ${BINGRP} -m 666 /dev/null \ + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 666 /dev/null \ ${DESTDIR}/var/games/hackdir/record - install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/help \ + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/help \ ${.CURDIR}/hh ${.CURDIR}/data ${DESTDIR}/var/games/hackdir rm -f ${DESTDIR}/var/games/hackdir/bones* diff --git a/games/larn/Makefile b/games/larn/Makefile index 78d3e10..4aab5e7 100644 --- a/games/larn/Makefile +++ b/games/larn/Makefile @@ -62,8 +62,8 @@ LDADD= -ltermcap -lcompat HIDEGAME=hidegame beforeinstall: - (cd ${.CURDIR}/datfiles; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ - larnmaze larnopts larn.help \ + (cd ${.CURDIR}/datfiles; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} \ + -m 444 larnmaze larnopts larn.help \ ${DESTDIR}/usr/share/games/larn) .include diff --git a/games/phantasia/Makefile b/games/phantasia/Makefile index 7c61916..8e6eccc 100644 --- a/games/phantasia/Makefile +++ b/games/phantasia/Makefile @@ -16,16 +16,16 @@ setup: phantglobs.o setup.o monsters.asc ${LIBM} beforeinstall: ./setup -m ${.CURDIR}/monsters.asc - install -c -m 660 -o games -g bin gold ${DESTDIR}/var/games/phantasia - install -c -m 660 -o games -g bin lastdead ${DESTDIR}/var/games/phantasia - install -c -m 660 -o games -g bin mess ${DESTDIR}/var/games/phantasia - install -c -m 660 -o games -g bin monsters ${DESTDIR}/var/games/phantasia - install -c -m 660 -o games -g bin motd ${DESTDIR}/var/games/phantasia - install -c -m 660 -o games -g bin characs ${DESTDIR}/var/games/phantasia - install -c -m 660 -o games -g bin scoreboard ${DESTDIR}/var/games/phantasia - install -c -m 660 -o games -g bin void ${DESTDIR}/var/games/phantasia - -# Make Phantasia map. Change the map commands reflect your installation. + ${INSTALL} -c -m 660 -o games -g bin gold ${DESTDIR}/var/games/phantasia + ${INSTALL} -c -m 660 -o games -g bin lastdead ${DESTDIR}/var/games/phantasia + ${INSTALL} -c -m 660 -o games -g bin mess ${DESTDIR}/var/games/phantasia + ${INSTALL} -c -m 660 -o games -g bin monsters ${DESTDIR}/var/games/phantasia + ${INSTALL} -c -m 660 -o games -g bin motd ${DESTDIR}/var/games/phantasia + ${INSTALL} -c -m 660 -o games -g bin characs ${DESTDIR}/var/games/phantasia + ${INSTALL} -c -m 660 -o games -g bin scoreboard ${DESTDIR}/var/games/phantasia + ${INSTALL} -c -m 660 -o games -g bin void ${DESTDIR}/var/games/phantasia + +# Make Phantasia map. Change the map commands reflect your ${INSTALL}ation. # PLOTDEVICE is used for plotting the map. Change as appropriate. map: map.c diff --git a/games/quiz/Makefile b/games/quiz/Makefile index 8044644..fabca7f 100644 --- a/games/quiz/Makefile +++ b/games/quiz/Makefile @@ -10,7 +10,7 @@ CATS= africa america areas arith asia babies bard chinese collectives \ HIDEGAME=hidegame beforeinstall: - (cd ${.CURDIR}/datfiles; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ - ${CATS} ${DESTDIR}/usr/share/games/quiz.db) + (cd ${.CURDIR}/datfiles; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} \ + -m 444 ${CATS} ${DESTDIR}/usr/share/games/quiz.db) .include diff --git a/games/robots/Makefile b/games/robots/Makefile index 7e9af46..bded134 100644 --- a/games/robots/Makefile +++ b/games/robots/Makefile @@ -10,7 +10,7 @@ LDADD= -lcurses -ltermcap -lcompat HIDEGAME=hidegame beforeinstall: - install -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ ${DESTDIR}/var/games/robots_roll .include diff --git a/games/wargames/Makefile b/games/wargames/Makefile index 6246697..56713f2 100644 --- a/games/wargames/Makefile +++ b/games/wargames/Makefile @@ -4,7 +4,7 @@ NOOBJ= noobj all wargames clean cleandir depend lint tags: install: - install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} wargames.sh \ + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} wargames.sh \ ${DESTDIR}/usr/games/wargames .include diff --git a/games/wump/Makefile b/games/wump/Makefile index de09ffb..a4ccedc 100644 --- a/games/wump/Makefile +++ b/games/wump/Makefile @@ -5,7 +5,7 @@ MAN6= wump.6 HIDEGAME=hidegame beforeinstall: - install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/wump.info \ + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/wump.info \ ${DESTDIR}/usr/share/games .include -- cgit v1.1