File: rules

package info (click to toggle)
lintian 2.104.0
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 58,560 kB
  • sloc: perl: 36,857; javascript: 9,151; makefile: 3,888; sh: 3,204; ansic: 727; xml: 409; python: 65; java: 15; cpp: 9; tcl: 4; lisp: 3
file content (19 lines) | stat: -rw-r--r-- 522 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
DPKG_EXPORT_BUILDFLAGS:=1
include /usr/share/dpkg/buildflags.mk

DOCS:=debian/python-kinterbasdb/usr/share/doc/python-kinterbasdb/docs
%:
	dh $@

override_dh_strip:
	dh_strip -ppython-kinterbasdb --dbg-package=python-kinterbasdb-dbg
	dh_strip --remaining-packages

override_dh_compress:
	dh_compress
	# Manually compress it, since debhelper will fix #608907
	# in the "near" future.
	[ -f "$(DOCS)/objects.inv.gz" ] || gzip -n --best "$(DOCS)/objects.inv"