File: rules

package info (click to toggle)
mdbtools 0.7.1-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,816 kB
  • ctags: 1,183
  • sloc: ansic: 13,782; xml: 435; makefile: 258; yacc: 116; lex: 113; sh: 35
file content (25 lines) | stat: -rwxr-xr-x 852 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
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DOCBOOK_DSL=/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl
export CHANGELOG_DATE=$(shell dpkg-parsechangelog -S date)

%:
	dh $@ --with autoreconf --with bash-completion

override_dh_autoreconf:
	# gnome-doc generates so many portability warnings, ignore them:
	dh_autoreconf autoreconf -- -i -f -Wno-portability

override_dh_auto_configure:
	dh_auto_configure -- --disable-silent-rules --with-unixodbc=/usr --disable-scrollkeeper

override_dh_auto_install:
	# see http://bugs.debian.org/619683
	dh_auto_install
	for file in debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la; do \
		sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
	done

override_dh_strip:
	dh_strip --dbg-package=mdbtools-dbg