summaryrefslogtreecommitdiffstats
path: root/wargames/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'wargames/Makefile')
-rw-r--r--wargames/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/wargames/Makefile b/wargames/Makefile
index 47b625a1..df1a97d6 100644
--- a/wargames/Makefile
+++ b/wargames/Makefile
@@ -4,4 +4,10 @@
SCRIPTS=wargames.sh
MAN= wargames.6
-.include <bsd.prog.mk>
+all:
+
+install: $(MAN) $(SCRIPTS)
+ $(GINSTALL) -Dm755 $(SCRIPTS) $(DESTDIR)/usr/games/$(basename $(SCRIPTS))
+ $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/usr/share/man/man6/$(MAN)
+
+.PHONY: all install clean