gBootRoot pronounced "bOOtrOOt"
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.1 KiB

all: install
install:
23 years ago
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
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