-# from: @(#)Makefile 5.3 (Berkeley) 6/8/90
-# $Id: Makefile,v 1.3 1993/12/22 04:30:48 cgd Exp $
+# $NetBSD: Makefile,v 1.10 2000/01/25 21:41:18 drochner Exp $
+# @(#)Makefile 8.1 (Berkeley) 5/31/93
-NOOBJ= noobj
-all wargames clean cleandir depend lint tags:
+SCRIPTS=wargames.sh
+MAN= wargames.6
-install:
- install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${.CURDIR}/wargames.sh ${DESTDIR}/usr/games/wargames
+all:
-.include <bsd.prog.mk>
+install: $(MAN) $(SCRIPTS)
+ $(GINSTALL) -Dm755 $(SCRIPTS) $(DESTDIR)/usr/games/$(basename $(SCRIPTS))
+ $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/usr/share/man/man6/$(MAN)
+
+.PHONY: all install clean