File: rules

package info (click to toggle)
libpinyin 2.10.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 91,372 kB
  • sloc: cpp: 39,980; sh: 4,980; makefile: 407; ansic: 110
file content (20 lines) | stat: -rwxr-xr-x 504 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Avoid parallel post-build test due to reused /tmp/snapshot.db
%:
	dh $@ --no-parallel

override_dh_auto_configure:
	dh_auto_configure -Sautoconf -- \
	    --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
	    --datarootdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
	    --with-dbm=BerkeleyDB \
	    --enable-libzhuyin \
	    $(NULL)

execute_before_dh_install:
	find debian/ -name *.la -delete