diff options
author | mycroft <mycroft@NetBSD.org> | 1995-04-20 02:04:51 +0000 |
---|---|---|
committer | mycroft <mycroft@NetBSD.org> | 1995-04-20 02:04:51 +0000 |
commit | 21220f7e53a5408b92384c2a854243ebe7a918e6 (patch) | |
tree | f63c4ae2c96e41ad3a36f98a16a1b3f31bbccb10 /boggle | |
parent | f7ec96d53d1d6067e74f38ff6eeff54ea5a75004 (diff) | |
download | bsdgames-darwin-21220f7e53a5408b92384c2a854243ebe7a918e6.tar.gz bsdgames-darwin-21220f7e53a5408b92384c2a854243ebe7a918e6.tar.zst bsdgames-darwin-21220f7e53a5408b92384c2a854243ebe7a918e6.zip |
Remove read-only files before trying to rewrite them. From Greg Hudson.
Diffstat (limited to 'boggle')
-rw-r--r-- | boggle/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/boggle/Makefile b/boggle/Makefile index f6970804..700a77bf 100644 --- a/boggle/Makefile +++ b/boggle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 1995/03/21 12:14:18 cgd Exp $ +# $NetBSD: Makefile,v 1.5 1995/04/20 02:06:32 mycroft Exp $ # @(#)Makefile 8.1 (Berkeley) 6/11/93 SUBDIR= boggle mkdict mkindex @@ -9,8 +9,10 @@ MKINDEX!=cd $(.CURDIR)/mkindex; \ printf "xxx:\n\techo \$${.OBJDIR}/mkindex\n" | ${MAKE} -r -s -f - xxx beforeinstall: + rm -f ${DESTDIR}/usr/share/games/boggle/dictionary ${MKDICT} < /usr/share/dict/words > \ ${DESTDIR}/usr/share/games/boggle/dictionary + rm -f ${DESTDIR}/usr/share/games/boggle/dictindex ${MKINDEX} < ${DESTDIR}/usr/share/games/boggle/dictionary > \ ${DESTDIR}/usr/share/games/boggle/dictindex chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/share/games/boggle/dictionary |