diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-08-19 09:02:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-08-19 09:20:34 +0000 |
commit | b74b1af7529a72e3a7351bc89f663c621a96a972 (patch) | |
tree | cdc659b65124b9f5b72106db6cac18233c8230a8 | |
parent | Shortening Makefile for different debconf script modes. (diff) | |
download | compute-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>
-rw-r--r-- | Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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 \ |