File: rules

package info (click to toggle)
live-build 1:20190311
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,692 kB
  • sloc: sh: 9,278; makefile: 124
file content (18 lines) | stat: -rwxr-xr-x 410 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_install:
	# Update manual pages first
	$(MAKE) -C manpages update
	$(MAKE) -C manpages build

	dh_auto_install -- DESTDIR=debian/live-build

	# Removing unused files
	rm -f debian/live-build/usr/share/doc/live-build/COPYING

override_dh_link:
	# workaround dh_link conversion of absolute symlinks to relative symlinks
	dh_link -X.c32 -Xisolinux.bin -Xpxelinux.0