Initial revision
[fake-hwclock.git] / debian / rules
1 #!/usr/bin/make -f
2 package = fake-hwclock
3
4 clean:
5         dh_testdir
6         dh_clean
7         find . -name '*~' | xargs rm -vf
8
9 build-arch:
10 build-indep:
11 build:
12
13 install:
14         dh_testdir
15         dh_testroot
16         dh_prep
17         dh_installdirs
18         install -m 0755 fake-hwclock debian/fake-hwclock/bin
19         install -m 0755 init debian/fake-hwclock/usr/share/initramfs-tools/scripts/init-bottom/fake-hwclock
20
21 binary: binary-indep binary-arch
22
23 # Nothing to do here
24 binary-arch:
25
26 binary-indep: install
27         dh_testdir
28         dh_testroot
29         dh_installdebconf
30         dh_installchangelogs
31         dh_installdocs
32         dh_installcron
33         dh_installinit -- stop 02 0 1 6 .
34         dh_compress
35         dh_fixperms
36         dh_installdeb
37         dh_shlibdeps
38         dh_gencontrol
39         dh_md5sums
40         dh_builddeb
41
42 .PHONY: binary binary-arch binary-indep build-arch build-indep clean