]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - wargames/Makefile
cgram: rewrite completely, fixing bugs and style
[bsdgames-darwin.git] / wargames / Makefile
index 5e0199479155c9d34a907e4f8cb065cb2c2ea930..32aae0af9233cd29f1a0e77ec83d077af0423c1e 100644 (file)
@@ -1,11 +1,13 @@
-#      $NetBSD: Makefile,v 1.4 1995/04/22 07:53:41 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)/$(PREFIX)/games/$(basename $(SCRIPTS))
+       $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
+
+.PHONY: all install clean