diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 00:37:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 00:37:37 +0000 |
commit | c6aa024d968091f0a3f98aea33e1bbd375f9f032 (patch) | |
tree | acc01053d229b50bb44333db271c6dbb615895fe /Makefile | |
parent | Initial commit. (diff) | |
download | debootstrap-c6aa024d968091f0a3f98aea33e1bbd375f9f032.tar.xz debootstrap-c6aa024d968091f0a3f98aea33e1bbd375f9f032.zip |
Adding upstream version 1.0.114+deb10u1.upstream/1.0.114+deb10u1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8516803 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +# avoid dpkg-dev dependency; fish out the version with sed +VERSION := $(shell sed 's/.*(\(.*\)).*/\1/; q' debian/changelog) + +all: + +clean: + +DSDIR=$(DESTDIR)/usr/share/debootstrap +install: + mkdir -p $(DSDIR)/scripts + mkdir -p $(DESTDIR)/usr/sbin + + cp -a scripts/* $(DSDIR)/scripts/ + install -o root -g root -m 0644 functions $(DSDIR)/ + + sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap + chown root:root $(DESTDIR)/usr/sbin/debootstrap + chmod 0755 $(DESTDIR)/usr/sbin/debootstrap |