File: rules

package info (click to toggle)
lilo 1:24.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 3,592 kB
  • sloc: ansic: 13,304; asm: 10,403; perl: 1,291; sh: 1,035; makefile: 592
file content (27 lines) | stat: -rwxr-xr-x 605 bytes parent folder | download
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
#!/usr/bin/make -f
# -*- makefile -*-


# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1


%:
	dh $@


override_dh_auto_build:
	dh_auto_build
	@echo "Extract html documentation (tech.html, user.html)"
	uudecode -o /dev/stdout debian/doc/tech.html.uu  2> /dev/null | tar -x -z -C debian
	uudecode -o /dev/stdout debian/doc/user.html.uu  2> /dev/null | tar -x -z -C debian

override_dh_fixperms-arch:
	dh_fixperms
	@echo "Set execute flag to chattr-lilo hook scripts"
	chmod 0755 debian/lilo/usr/lib/lilo/hooks/kernel/*/chattr-lilo

override_dh_auto_clean:
	rm -rf debian/html
	dh_auto_clean