File: rules

package info (click to toggle)
teckit 2.5.13%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,352 kB
  • sloc: cpp: 48,249; sh: 5,340; ansic: 3,162; perl: 562; makefile: 194; java: 43; xml: 15
file content (24 lines) | stat: -rwxr-xr-x 582 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

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with autoreconf --with pkgkde_symbolshelper

override_dh_clean:
	dh_clean -X.orig

# Weird hack to link with systems zlib.
execute_before_dh_auto_build:
	sed -i "s@^LIBS =@LIBS = -lz@" bin/Makefile

override_dh_install:
	chrpath -d debian/tmp/usr/bin/* debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*so*
	dh_install

override_dh_compress:
	dh_compress -X.pdf

override_dh_auto_test:
	: do nothing here, otherwise test suite is executed