Lines 1-11
Link Here
|
1 |
--- Makefile.orig 2023-05-18 14:07:09.571240000 +0200 |
1 |
--- Makefile.orig 2023-05-16 19:52:30.000000000 +0200 |
2 |
+++ Makefile 2023-05-18 14:07:22.166522000 +0200 |
2 |
+++ Makefile 2023-05-18 14:17:25.959172000 +0200 |
3 |
@@ -25,7 +25,7 @@ |
3 |
@@ -25,10 +25,11 @@ |
4 |
|
4 |
|
5 |
PREFIX?=/usr/local |
5 |
PREFIX?=/usr/local |
6 |
DESTDIR?=/usr/local |
6 |
DESTDIR?=/usr/local |
7 |
-MYPREFIX=$(DESTDIR) |
7 |
-MYPREFIX=$(DESTDIR) |
8 |
+MYPREFIX=$(PREFIX) |
8 |
+MYPREFIX=$(DESTDIR)$(PREFIX) |
9 |
INSTALLBIN=$(MYPREFIX)/bin |
9 |
INSTALLBIN=$(MYPREFIX)/bin |
10 |
INSTALLSHARE=$(MYPREFIX)/share/games |
10 |
-INSTALLSHARE=$(MYPREFIX)/share/games |
11 |
INSTALLMAN=$(MYPREFIX)/share/man |
11 |
-INSTALLMAN=$(MYPREFIX)/share/man |
|
|
12 |
+INSTALLSHARE=$(MYPREFIX)/share |
13 |
+INSTALLDOC=$(MYPREFIX)/share/doc |
14 |
+INSTALLMAN=$(MYPREFIX)/man |
15 |
|
16 |
CC?=gcc |
17 |
AR?=ar |
18 |
@@ -97,12 +98,13 @@ |
19 |
install -m 755 -d $(INSTALLBIN) |
20 |
install -m 755 -d $(INSTALLMAN)/man5/ |
21 |
install -m 755 -d $(INSTALLMAN)/man6/ |
22 |
+ install -m 755 -d $(INSTALLDOC)/dMagnetic/ |
23 |
install -m 755 -d $(INSTALLSHARE)/dMagnetic/ |
24 |
|
25 |
install -m 755 -s dMagnetic $(INSTALLBIN)/dMagnetic |
26 |
install -m 644 dMagneticini.5 $(INSTALLMAN)/man5/dMagneticini.5 |
27 |
install -m 644 dMagnetic.6 $(INSTALLMAN)/man6/dMagnetic.6 |
28 |
- install -m 644 README.txt $(INSTALLSHARE)/dMagnetic/README.txt |
29 |
+ install -m 644 README.txt $(INSTALLDOC)/dMagnetic/README.txt |
30 |
install -m 644 LICENSE.txt $(INSTALLSHARE)/dMagnetic/LICENSE.txt |
31 |
cp dMagnetic.ini $(INSTALLSHARE)/dMagnetic/ |
32 |
|