File: fix-install

package info (click to toggle)
freesweep 1.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 628 kB
  • sloc: ansic: 5,174; sh: 2,180; makefile: 204
file content (30 lines) | stat: -rw-r--r-- 1,184 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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