Lines 1-26
Link Here
|
1 |
--- Makefile.orig 2011-08-15 20:29:37.000000000 +0200 |
1 |
--- ./Makefile.orig 2011-08-10 07:59:34.000000000 -0400 |
2 |
+++ Makefile 2011-08-25 19:19:09.951348991 +0200 |
2 |
+++ ./Makefile 2014-08-06 19:37:57.799160204 -0400 |
3 |
@@ -13,17 +13,17 @@ |
3 |
@@ -13,17 +13,15 @@ |
4 |
rm -f devices.tar.gz |
4 |
rm -f devices.tar.gz |
5 |
rm -rf dev |
5 |
rm -rf dev |
6 |
|
6 |
|
7 |
-DSDIR=$(DESTDIR)/usr/share/debootstrap |
7 |
-DSDIR=$(DESTDIR)/usr/share/debootstrap |
8 |
+DSDIR=$(PREFIX)/share/debootstrap |
8 |
+DSDIR=$(DESTDIR)%%PREFIX%%/share/debootstrap |
9 |
install: |
9 |
install: |
10 |
mkdir -p $(DSDIR)/scripts |
10 |
mkdir -p $(DSDIR)/scripts |
11 |
- mkdir -p $(DESTDIR)/usr/sbin |
11 |
- mkdir -p $(DESTDIR)/usr/sbin |
12 |
+ mkdir -p $(PREFIX)/sbin |
12 |
+ mkdir -p $(DESTDIR)%%PREFIX%%/sbin |
13 |
|
13 |
|
14 |
cp -a scripts/* $(DSDIR)/scripts/ |
14 |
cp -a scripts/* $(DSDIR)/scripts/ |
15 |
- install -o root -g root -m 0644 functions $(DSDIR)/ |
15 |
- install -o root -g root -m 0644 functions $(DSDIR)/ |
16 |
+ install -o root -g wheel -m 0644 functions $(DSDIR)/ |
16 |
+ cp -a functions $(DSDIR)/ |
17 |
|
17 |
|
18 |
- sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap |
18 |
- sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap |
19 |
- chown root:root $(DESTDIR)/usr/sbin/debootstrap |
19 |
- chown root:root $(DESTDIR)/usr/sbin/debootstrap |
20 |
- chmod 0755 $(DESTDIR)/usr/sbin/debootstrap |
20 |
- chmod 0755 $(DESTDIR)/usr/sbin/debootstrap |
21 |
+ sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(PREFIX)/sbin/debootstrap |
21 |
+ sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)%%PREFIX%%/sbin/debootstrap |
22 |
+ chown root:wheel $(PREFIX)/sbin/debootstrap |
|
|
23 |
+ chmod 0755 $(PREFIX)/sbin/debootstrap |
24 |
|
22 |
|
25 |
ifeq ($(shell uname),Linux) |
23 |
ifeq ($(shell uname),Linux) |
26 |
install -o root -g root -m 0644 devices.tar.gz $(DSDIR)/ |
24 |
install -o root -g root -m 0644 devices.tar.gz $(DSDIR)/ |