File: rules

package info (click to toggle)
open-infrastructure-system-build 20161101-lts2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,028 kB
  • ctags: 82
  • sloc: sh: 8,825; makefile: 128
file content (25 lines) | stat: -rwxr-xr-x 652 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
#!/usr/bin/make -f

%:
	dh ${@} --parallel

override_dh_auto_install:
	dh_auto_install

	# Removing unused files
	rm -rf debian/*/usr/share/doc/live-build

override_dh_compress:
	dh_compress

	# Recompressing without timestamp
	cd debian/open-infrastructure-system-build/usr/share/live/build/bootloaders/grub-legacy && \
	gunzip splash.xpm.gz && \
	gzip -n splash.xpm

override_dh_link:
	dh_link

	# workaround dh_link convertion of absolute symlinks to relvative symlinks
	rm -rf debian/open-infrastructure-system-build/usr/share/live/build/bootloaders
	cp -a share/bootloaders debian/open-infrastructure-system-build/usr/share/live/build/bootloaders