]> git.sur5r.net Git - bacula/rescue/blob - rescue/knoppix/cdrom/Makefile.in
Some tweaks to the scripts
[bacula/rescue] / rescue / knoppix / cdrom / Makefile.in
1 #
2 # Makefile for building a Bacula Rescue CDROM or remastering
3 #   a CDROM or ISO image adding the Bacula files.
4 #
5
6 .PATH:          .
7
8
9 first_rule: all
10 dummy:
11
12 #-------------------------------------------------------------------------
13
14 # Make an iso boot image
15 iso:
16         ./build-iso
17
18 cdimage:
19         makecdimage --type=@type@ --where=@where@
20
21 # try booting it with qemu emulator
22 boot:
23         qemu -cdrom bacula-knoppix.iso
24
25 initrd:
26         ./makeinitrd
27
28 kernel:
29         ./makekernel @KERNEL@
30
31 binaries:
32         ./makebinaries
33
34 static-bacula: dummy
35         @(cd bacula; make copy-static-fd)
36
37 bacula: dummy
38         @(cd bacula; make)
39
40 copy-bacula:
41         cp -a bacula/ cdimage/
42
43 knoppix: environment fillknoppix iso
44
45 environment:
46         ./makeenv
47
48 fillknoppix:
49         ./copy-to-knoppix
50
51 #all:    kernel binaries bacula initrd iso
52 all:    bacula 
53
54 copy-static-fd: kernel binaries static-bacula initrd iso
55
56
57 # This needs to be customized for your burner.
58 burn:
59         cdrecord dev=ATA:@CDSTL@ gracetime=2 fs=4096k driveropts=burnfree -v \
60          -useinfo speed=48 -dao -eject -pad -data "bacula-knoppix.iso"
61
62 # Blank the CDROM assuming it is +rw
63 blank:
64         cdrecord dev=ATA:@CDSTL@ gracetime=2 -v blank=fast -useinfo speed=48
65
66 scan:
67         cdrecord -scanbus
68
69 distclean:
70 clean:
71 #
72 # Clean out files that are rebuilt
73 #
74         @rm -f bacula-knoppix.iso   
75         @rm -rf roottree/bacula-*
76         @(cd bacula; make distclean)
77         @echo 
78         @echo "   Please delete manually the REMASTER_PATH"
79         @echo