From eef83727ce7a928fe40e476313d871eaaca78896 Mon Sep 17 00:00:00 2001 From: freesource Date: Mon, 10 Sep 2001 18:44:02 +0000 Subject: [PATCH] Adds $DESTDIR. --- Makefile.pkg | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/Makefile.pkg b/Makefile.pkg index 4702b7c..fada3dd 100644 --- a/Makefile.pkg +++ b/Makefile.pkg @@ -2,21 +2,20 @@ all: install install: - install -d /usr/bin - cp -fa gbootroot /usr/bin/gbootroot - cp -fa yard_chrooted_tests /usr/bin/yard_chrooted_tests - cp -fa yard/scripts/make_debian /usr/bin/make_debian - install -d /usr/share/perl5/BootRoot - cp -fa BootRoot/*.pm /usr/share/perl5/BootRoot - install -d /usr/share/gbootroot/yard/Replacements - cp -fa yard/replacements/[!CVS]* /usr/share/gbootroot/yard/Replacements - install -d /usr/share/gbootroot/yard/templates - chmod 444 yard/templates/*.yard - cp -fa yard/templates/*.yard /usr/share/gbootroot/yard/templates - cp -fa user-mode-linux/usr/bin/uml_* /usr/bin - cp -fa user-mode-linux/usr/bin/linux /usr/bin/linux - install -d /etc/gbootroot - cp -fa gbootrootrc /etc/gbootroot/gbootrootrc + install -d $(DESTDIR)/usr/bin + cp -fa gbootroot $(DESTDIR)/usr/bin/gbootroot + cp -fa yard_chrooted_tests $(DESTDIR)/usr/bin/yard_chrooted_tests + cp -fa yard/scripts/make_debian $(DESTDIR)/usr/bin/make_debian + install -d $(DESTDIR)/usr/share/perl5/BootRoot + cp -fa BootRoot/*.pm $(DESTDIR)/usr/share/perl5/BootRoot + install -d $(DESTDIR)/usr/share/gbootroot/yard/Replacements + cp -fa yard/replacements/* $(DESTDIR)/usr/share/gbootroot/yard/Replacements + install -d $(DESTDIR)/usr/share/gbootroot/yard/templates + cp -fa yard/templates/*.yard $(DESTDIR)/usr/share/gbootroot/yard/templates + cp -fa user-mode-linux/usr/bin/uml_* $(DESTDIR)/usr/bin + cp -fa user-mode-linux/usr/bin/linux $(DESTDIR)/usr/bin/linux + install -d $(DESTDIR)/etc/gbootroot + cp -fa gbootrootrc $(DESTDIR)/etc/gbootroot/gbootrootrc remove: rm /usr/bin/gbootroot