2
2
# debian/rules for the bootchart package.
3
# Copyright © 2005 Canonical Ltd.
3
# Copyright © 2008 Canonical Ltd.
4
4
# Author: Scott James Remnant <scott@ubuntu.com>
6
6
# Uncomment this to turn on verbose mode.
18
gcc -g -Wall -Os -o bootchart-collector bootchart-collector.c
20
22
# Install files into the deb
21
install: DH_OPTIONS=-i
28
install -m 644 -o root -g root bootchart.jar \
29
debian/bootchart/usr/share/bootchart
31
install -m 755 -o root -g root debian/bootchart.init \
30
install -D -m 644 -o root -g root bootchart.jar \
31
debian/bootchart/usr/share/bootchart/bootchart.jar
33
install -D -m 755 -o root -g root bootchart-collector \
34
debian/bootchart/lib/bootchart/collector
35
install -D -m 755 -o root -g root bootchart-gather.sh \
36
debian/bootchart/lib/bootchart/gather
38
install -D -m 755 -o root -g root debian/bootchart.init \
39
debian/bootchart/etc/init.d/bootchart
40
install -D -m 755 -o root -g root debian/bootchart.stop.init \
32
41
debian/bootchart/etc/init.d/stop-bootchart
33
install -m 755 -o root -g root debian/bootchart.script \
42
install -D -m 755 -o root -g root debian/bootchart.initramfs-hook \
43
debian/bootchart/usr/share/initramfs-tools/hooks/bootchart
44
install -D -m 755 -o root -g root debian/bootchart.initramfs-script \
34
45
debian/bootchart/usr/share/initramfs-tools/scripts/init-top/bootchart
35
install -m 755 -o root -g root debian/bootchart-udeb.casper-post \
36
debian/bootchart-udeb/usr/lib/casper/post.d/93bootchart-save
37
install -m 755 -o root -g root debian/bootchart-udeb.d-i-startup \
38
debian/bootchart-udeb/lib/debian-installer-startup.d/S03bootchart
41
48
binary: binary-indep binary-arch
43
50
# Build architecture-independent files here.
44
51
binary-indep: DH_OPTIONS=-i
45
binary-indep: build install
52
# We have nothing to do by default.
54
# Build architecture-dependent files here.
55
binary-arch: DH_OPTIONS=-a
56
binary-arch: build install
48
59
dh_installchangelogs ChangeLog