summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 \