File: rules

package info (click to toggle)
zutils 1.5-5%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 516 kB
  • sloc: cpp: 2,913; sh: 634; makefile: 200
file content (19 lines) | stat: -rwxr-xr-x 478 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

%:
	dh ${@} --parallel

override_dh_auto_configure:
	LDFLAGS="${LDFLAGS} -static" dh_auto_configure -- --exec-prefix=/

override_dh_auto_install:
	dh_auto_install -- DESTDIR=$(CURDIR)/debian/zutils

	# removing unused files
	rm -f debian/zutils/usr/share/info/dir*

override_dh_gencontrol:
	dh_gencontrol -- -Vbuilt-using="glibc (= $$(dpkg-query --show --showformat='$${source:Version}' libc-dev-bin))"

override_dh_strip:
	dh_strip --dbg-package=zutils-dbg