summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess <joeyh@debian.org>2010-02-18 02:41:46 (GMT)
committerJoey Hess <joeyh@debian.org>2010-02-18 02:41:46 (GMT)
commit236117720cd5de5342d4b3dfbea35e5243490ae6 (patch)
treedb114acda56b055bcc0b292d02a6014ce4570741 /Makefile
parent3f031b5a0c43294259e6a7264ed96bcfab68dd07 (diff)
downloaddebootstrap-236117720cd5de5342d4b3dfbea35e5243490ae6.zip
debootstrap-236117720cd5de5342d4b3dfbea35e5243490ae6.tar.gz
debootstrap-236117720cd5de5342d4b3dfbea35e5243490ae6.tar.bz2
Make scripts directory in source tree look like installed directory,
and add a section to README explaining an easy way to run debootstrap w/o installing it. Closes: #345762 r62297
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 1 insertions, 20 deletions
diff --git a/Makefile b/Makefile
index 65b6d8e..ff4ff3a 100644
--- a/Makefile
+++ b/Makefile
@@ -13,28 +13,9 @@ install:
mkdir -p $(DSDIR)/scripts
mkdir -p $(DESTDIR)/usr/sbin
- install -o root -g root -m 0644 scripts/debian/* $(DSDIR)/scripts/
- install -o root -g root -m 0644 scripts/ubuntu/* $(DSDIR)/scripts/
+ cp -a scripts/* $(DSDIR)/scripts/
install -o root -g root -m 0644 functions $(DSDIR)/
- # recent debian releases can all be handled by the sid script
- ln -s sid $(DSDIR)/scripts/etch
- ln -s sid $(DSDIR)/scripts/etch-m68k
- ln -s sid $(DSDIR)/scripts/lenny
- ln -s sid $(DSDIR)/scripts/squeeze
-
- # allow using symbolic release names instead of code names too
- ln -s sid $(DSDIR)/scripts/stable
- ln -s sid $(DSDIR)/scripts/testing
- ln -s sid $(DSDIR)/scripts/unstable
-
- # recent ubuntu releases can all be handled by the gutsy script
- ln -s gutsy $(DSDIR)/scripts/hardy
- ln -s gutsy $(DSDIR)/scripts/intrepid
- ln -s gutsy $(DSDIR)/scripts/jaunty
- ln -s gutsy $(DSDIR)/scripts/karmic
- ln -s gutsy $(DSDIR)/scripts/lucid
-
sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap
chown root:root $(DESTDIR)/usr/sbin/debootstrap
chmod 0755 $(DESTDIR)/usr/sbin/debootstrap