Fix command redirection in postinst script
[rrq/maintain_lilo.git] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4
5 # Uncomment this to turn on verbose mode.
6 #export DH_VERBOSE=1
7
8
9 %:
10         dh $@
11
12
13 override_dh_auto_build:
14         dh_auto_build
15         @echo "Extract html documentation (tech.html, user.html)"
16         uudecode -o /dev/stdout debian/doc/tech.html.uu  2> /dev/null | tar -x -z -C debian
17         uudecode -o /dev/stdout debian/doc/user.html.uu  2> /dev/null | tar -x -z -C debian
18
19 override_dh_fixperms-arch:
20         dh_fixperms
21         @echo "Set execute flag to chattr-lilo hook scripts"
22         chmod 0755 debian/lilo/usr/lib/lilo/hooks/kernel/*/chattr-lilo
23
24 override_dh_auto_clean:
25         rm -rf debian/html
26         dh_auto_clean
27