diff options
author | Joey Hess <joeyh@debian.org> | 2010-02-18 02:41:46 (GMT) |
---|---|---|
committer | Joey Hess <joeyh@debian.org> | 2010-02-18 02:41:46 (GMT) |
commit | 236117720cd5de5342d4b3dfbea35e5243490ae6 (patch) | |
tree | db114acda56b055bcc0b292d02a6014ce4570741 /Makefile | |
parent | 3f031b5a0c43294259e6a7264ed96bcfab68dd07 (diff) | |
download | debootstrap-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-- | Makefile | 21 |
1 files changed, 1 insertions, 20 deletions
@@ -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 |