summaryrefslogtreecommitdiff
blob: e3397a7c5c3cac551928415d74bd635eec854dd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Makefile.in
+++ Makefile.in
@@ -338,16 +338,9 @@
 
 
 install-data-local:
-	-./mkinstalldirs -p $(localstatedir) $(bindir) $(datadir)/ivan/Script/ $(datadir)/ivan/Graphics/ $(localstatedir)/ivan/Bones/
-	-touch $(localstatedir)/ivan/ivan-highscore.scores
-	-chown games.games $(localstatedir)/ivan/ivan-highscore.scores
-	-chmod 664 $(localstatedir)/ivan/ivan-highscore.scores
-	-chown -R games.games $(localstatedir)/ivan/Bones/
-	-chmod -R u=rwx $(localstatedir)/ivan/Bones/
-	-chmod -R g=rwx $(localstatedir)/ivan/Bones/
-	-chmod -R o=r $(localstatedir)/ivan/Bones/
-	-chgrp games $(bindir)/ivan 
-	-chmod 2111 $(bindir)/ivan
+	./mkinstalldirs -p $(DESTDIR)$(localstatedir)/ivan $(DESTDIR)$(localstatedir)/ivan/Bones
+	touch $(DESTDIR)$(localstatedir)/ivan/ivan-highscore.scores
+	chmod g+w $(DESTDIR)$(localstatedir)/ivan/ivan-highscore.scores
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.