Lines 5-15
Link Here
|
5 |
clean: |
5 |
clean: |
6 |
|
6 |
|
7 |
-DSDIR=$(DESTDIR)/usr/share/debootstrap |
7 |
-DSDIR=$(DESTDIR)/usr/share/debootstrap |
8 |
+DSDIR=$(DESTDIR)/usr/local/share/debootstrap |
8 |
+DSDIR=$(DESTDIR)%%DATADIR%% |
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 $(DESTDIR)/usr/local/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)/ |
Lines 18-22
Link Here
|
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 >$(DESTDIR)/usr/local/sbin/debootstrap |
21 |
+ sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)%%PREFIX%%/sbin/debootstrap |
22 |
+ chmod 0755 $(DESTDIR)/usr/local/sbin/debootstrap |
22 |
+ chmod 0755 $(DESTDIR)%%PREFIX%%/sbin/debootstrap |