summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-08-19 09:02:13 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-08-19 09:20:34 +0000
commitb74b1af7529a72e3a7351bc89f663c621a96a972 (patch)
treecdc659b65124b9f5b72106db6cac18233c8230a8 /Makefile
parentShortening Makefile for different debconf script modes. (diff)
downloadcompute-tools-b74b1af7529a72e3a7351bc89f663c621a96a972.tar.xz
compute-tools-b74b1af7529a72e3a7351bc89f663c621a96a972.zip
Shortening Makefile for different bootstrap script modes.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3350314..a378c7f 100644
--- a/Makefile
+++ b/Makefile
@@ -123,8 +123,11 @@ install: build
ln -sf container-build-debconf.1 $(DESTDIR)/usr/share/man/man1/container-build-$${MODE}.1; \
done
- ln -sf debootstrap $(DESTDIR)/usr/share/$(SOFTWARE)/build-scripts/mmdebstrap
- ln -sf container-build-debootstrap.1 $(DESTDIR)/usr/share/man/man1/container-build-mmdebstrap.1
+ for BOOTSTRAP in mmdebstrap; \
+ do \
+ ln -sf bootstrap $(DESTDIR)/usr/share/$(SOFTWARE)/build-scripts/$${BOOTSTRAP}; \
+ ln -sf container-build-bootstrap.1 $(DESTDIR)/usr/share/man/man1/container-build-$${BOOTSTRAP}.1; \
+ done
ln -sf build $(DESTDIR)/usr/libexec/$(PROGRAM)/b
ln -sf get $(DESTDIR)/usr/libexec/$(PROGRAM)/g
@@ -171,7 +174,10 @@ uninstall:
rm -f $(DESTDIR)/usr/share/man/man1/container-build-$${MODE}.1; \
done
- rm -f $(DESTDIR)/usr/share/man/man1/container-build-mmdebstrap.1
+ for BOOTSTRAP in mmdebstrap; \
+ do \
+ rm -f $(DESTDIR)/usr/share/man/man1/container-build-$${BOOTSTRAP}.1; \
+ done
for FILE in share/sudo/*; \
do \