From: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Date: Thu, 24 Mar 2016 12:43:31 +0100
Subject: fix-install

===================================================================
---
 Makefile.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 2ceb6c3..53b6d8a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -59,11 +59,11 @@ pure:
 	@make "PURIFY=$(PURE_ARGS)"
 
 install: $(TARGET) $(TARGET).6
-	touch sweeptimes
-	./install-sh -c -m 2555 -o root -g games $(TARGET) $(bindir)/$(TARGET)
-	./install-sh -c -m 0664 -o root -g games sweeptimes @SCORESDIR@/sweeptimes
-	./install-sh -c -m 0644 -o root -g games sweeprc @PREFSDIR@/sweeprc
-	./install-sh -c -m 0444 -o root -g games $(TARGET).6 @mandir@/man6/$(TARGET).6
+#	touch sweeptimes
+	./install-sh -c -m 2555 -o root -g games $(TARGET) $(DESTDIR)$(bindir)/$(TARGET)
+#	./install-sh -c -m 0664 -o root -g games sweeptimes $(DESTDIR)@SCORESDIR@/sweeptimes
+	./install-sh -c -m 0644 -o root -g games sweeprc $(DESTDIR)@PREFSDIR@/sweeprc
+	./install-sh -c -m 0444 -o root -g games $(TARGET).6 $(DESTDIR)@mandir@/man6/$(TARGET).6
 
 distclean:
 	@make sterile
