1 diff --git a/Makefile b/Makefile
2 index 8516803..0c61852 100644
9 -DSDIR=$(DESTDIR)/usr/share/debootstrap
10 +DSDIR=$(DESTDIR)$(PREFIX)/share/debootstrap
12 mkdir -p $(DSDIR)/scripts
13 - mkdir -p $(DESTDIR)/usr/sbin
15 cp -a scripts/* $(DSDIR)/scripts/
16 - install -o root -g root -m 0644 functions $(DSDIR)/
17 + install -m 0644 functions $(DSDIR)/
19 - sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap
20 - chown root:root $(DESTDIR)/usr/sbin/debootstrap
21 - chmod 0755 $(DESTDIR)/usr/sbin/debootstrap
22 + sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)$(PREFIX)/bin/debootstrap
23 + chmod 0755 $(DESTDIR)$(PREFIX)/bin/debootstrap