File: rules

package info (click to toggle)
libnss-mysql 1.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 440 kB
  • sloc: ansic: 1,666; sql: 295; makefile: 45; sh: 30
file content (24 lines) | stat: -rwxr-xr-x 622 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
#!/usr/bin/make -f

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

# extra hardening and stuff
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow qa=+bug
export DEB_CFLAGS_MAINT_APPEND = -Wall

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	find debian -name "libnss_mysql.la" -exec rm {} +
	find debian -name "libnss_mysql.so" -exec rm {} +

override_dh_lintian: debian/libnss-mysql.lintian-overrides
	dh_lintian

%.lintian-overrides: %.lintian-overrides.in
	sed -e 's!@@DEB_HOST_MULTIARCH@@!$(DEB_HOST_MULTIARCH)!g' $< >$@