-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
60 lines (55 loc) · 2.34 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
all: install
install:
install -d /usr/bin
cp -fa gbootroot /usr/bin/gbootroot
install -d /usr/lib/bootroot
mkdir -f user-mode-linux/usr/bin
mkdir -f root_filesystem
cp -fa yard_chrooted_tests /usr/lib/bootroot/yard_chrooted_tests
cp -fa expect_uml /usr/lib/bootroot/expect_uml
install -d /usr/lib/bootroot/root_filesystem
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/* /usr/share/gbootroot/yard/Replacements
install -d /usr/lib/bootroot/yard/Replacements/lib/modules
cp -fa user-mode-linux/usr/lib/uml/config /usr/lib/bootroot/yard/Replacements/lib/modules
cp -fa user-mode-linux/usr/lib/uml/CVS /usr/lib/bootroot/yard/Replacements/lib/modules/CVS
install -d /usr/lib/uml
install -d /usr/share/gbootroot/yard/templates
chmod 0444 yard/templates/*.yard
cp -fa yard/templates/Example* /usr/share/gbootroot/yard/templates
cp -fa yard/templates/Helper.yard /usr/share/gbootroot/yard/templates
cp -fa yard/templates/Initrd.yard /usr/share/gbootroot/yard/templates
install -d /usr/share/gbootroot/genext2fs
cp -fa genext2fs/genext2fs.c /usr/share/gbootroot/genext2fs
cp -fa genext2fs/Makefile /usr/share/gbootroot/genext2fs
cp -fa genext2fs/dev* /usr/share/gbootroot/genext2fs
install -d /usr/share/gbootroot/skas-or-tt
cp -fa skas-or-tt/skas-or-tt.c /usr/share/gbootroot/skas-or-tt
cp -fa skas-or-tt/Makefile /usr/share/gbootroot/skas-or-tt
install -d /etc/gbootroot
cp -fa gbootrootrc /etc/gbootroot/gbootrootrc
install -d /usr/X11R6/include/X11/pixmaps
cp -fa gbootroot.xpm /usr/X11R6/include/X11/pixmaps/gbootroot.xpm
install -d /usr/share/doc/gbootroot/html/images
cp -fa README /usr/share/doc/gbootroot/README
cp -fa doc/html/{*html,*4} /usr/share/doc/gbootroot/html
cp -fa doc/html/images/{*jpg,*gif} /usr/share/doc/gbootroot/html/images
cp -fa Changes /usr/share/doc/gbootroot/Changes
remove:
rm /usr/bin/gbootroot
rm -rf /usr/lib/bootroot
rm -rf /usr/lib/uml
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/tunctl
rm /usr/bin/linuxbr
rm /etc/gbootroot/gbootrootrc
rmdir /etc/gbootroot
rm /usr/X11R6/include/X11/pixmaps/gbootroot.xpm
rm -rf /usr/share/doc/gbootroot