From 6ba6f2ab26a9ec1def8d27060a28c49bce0bb469 Mon Sep 17 00:00:00 2001 From: freesource Date: Fri, 7 Sep 2001 15:52:57 +0000 Subject: [PATCH] The Makefile used by the gbootroot package archive. --- Makefile.pkg | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Makefile.pkg diff --git a/Makefile.pkg b/Makefile.pkg new file mode 100644 index 0000000..4702b7c --- /dev/null +++ b/Makefile.pkg @@ -0,0 +1,33 @@ + +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 + +remove: + rm /usr/bin/gbootroot + rm /usr/bin/yard_chrooted_tests + rm /usr/bin/make_debian + rm /usr/share/perl5/BootRoot/* + rmdir /usr/share/perl5/BootRoot + rm -rf /usr/share/gbootroot + rm /usr/bin/uml_* + rm /usr/bin/linux + rm /etc/gbootroot/gbootrootrc + rmdir /etc/gbootroot + +