summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFrans Pop <fjp@debian.org>2007-11-14 09:04:36 (GMT)
committerFrans Pop <fjp@debian.org>2007-11-14 09:04:36 (GMT)
commit0de15c33f6e53cce18257466b55feaea81f913e5 (patch)
treec8d694d43d4478b16fcced72554db17f8fa6efc5 /Makefile
parentac9e1963713581d1a28abf6f7d287b2404cbac7a (diff)
downloaddebootstrap-0de15c33f6e53cce18257466b55feaea81f913e5.zip
debootstrap-0de15c33f6e53cce18257466b55feaea81f913e5.tar.gz
debootstrap-0de15c33f6e53cce18257466b55feaea81f913e5.tar.bz2
* Change /usr/lib/debootstrap to /usr/share/debootstrap for both debootstrap and base-installer as befits an Architecture: all package
* Fix various inconsistencies and minor errors in build scripts: - let debhelper create needed directories and don't duplicate that in the Makefile - let debhelper install the manpage, which automatically keeps it out of the udeb * Fix dpkg-genchanges warning 'missing Priority for source files' * Update Standards-Version to 3.7.2. No changes needed r50134
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index f6c2856..4388ffb 100644
--- a/Makefile
+++ b/Makefile
@@ -10,11 +10,9 @@ clean:
rm -f devices.tar.gz
rm -rf dev
-DSDIR=$(DESTDIR)/usr/lib/debootstrap
+DSDIR=$(DESTDIR)/usr/share/debootstrap
install:
- mkdir -p $(DSDIR)/scripts
- mkdir -p $(DESTDIR)/usr/sbin
- mkdir -p $(DESTDIR)/usr/share/man/man8
+ # Dirs are created by dh_installdirs
install -o root -g root -m 0644 scripts/debian/* $(DSDIR)/scripts/
install -o root -g root -m 0644 scripts/ubuntu/* $(DSDIR)/scripts/
install -o root -g root -m 0644 functions $(DSDIR)/
@@ -25,7 +23,6 @@ install:
ln -s gutsy $(DSDIR)/scripts/hardy
- install -o root -g root -m 0755 debootstrap.8 $(DESTDIR)/usr/share/man/man8/
sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap
chown root:root $(DESTDIR)/usr/sbin/debootstrap
chmod 0755 $(DESTDIR)/usr/sbin/debootstrap