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.
 
 
 
 

53 lines
2.4 KiB

all: install
install:
install -d $(DESTDIR)/usr/bin
cp -fa gbootroot $(DESTDIR)/usr/bin/gbootroot
install -d $(DESTDIR)/usr/lib/bootroot
cp -fa yard_chrooted_tests $(DESTDIR)/usr/lib/bootroot/yard_chrooted_tests
cp -fa genext2fs/genext2fs $(DESTDIR)/usr/lib/bootroot/genext2fs
cp -fa expect_uml $(DESTDIR)/usr/lib/bootroot/expect_uml
install -d $(DESTDIR)/usr/lib/bootroot/root_filesystem
cp -fa root_filesystem/root_fs_helper $(DESTDIR)/usr/lib/bootroot/root_filesystem
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/lib/bootroot/yard/Replacements/lib/modules
cp -fa user-mode-linux/usr/lib/uml/modules* $(DESTDIR)/usr/lib/bootroot/yard/Replacements/lib/modules
cp -fa user-mode-linux/usr/lib/uml/CVS $(DESTDIR)/usr/lib/bootroot/yard/Replacements/lib/modules/CVS
install -d $(DESTDIR)/usr/share/gbootroot/yard/templates
cp -fa yard/templates/Example* $(DESTDIR)/usr/share/gbootroot/yard/templates
install -d $(DESTDIR)/usr/share/gbootroot/genext2fs
cp -fa genext2fs/genext2fs.c $(DESTDIR)/usr/share/gbootroot/genext2fs
cp -fa genext2fs/Makefile $(DESTDIR)/usr/share/gbootroot/genext2fs
cp -fa genext2fs/dev* $(DESTDIR)/usr/share/gbootroot/genext2fs
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
install -d $(DESTDIR)/usr/X11R6/include/X11/pixmaps
cp -fa gbootroot.xpm $(DESTDIR)/usr/X11R6/include/X11/pixmaps/gbootroot.xpm
install -d $(DESTDIR)/usr/share/doc/gbootroot/html/images
cp -fa doc/html/{*html,*4} $(DESTDIR)/usr/share/doc/gbootroot/html
cp -fa doc/html/images/{*jpg,*gif} $(DESTDIR)/usr/share/doc/gbootroot/html/images
cp -fa Changes $(DESTDIR)/usr/share/doc/gbootroot/Changes
remove:
rm /usr/bin/gbootroot
rm -rf /usr/lib/bootroot
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
rm /usr/X11R6/include/X11/pixmaps/gbootroot.xpm
rm -rf /usr/share/doc/gbootroot