File: rules

package info (click to toggle)
pidgin-otr 4.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,408 kB
  • ctags: 565
  • sloc: sh: 11,542; ansic: 5,487; makefile: 35
file content (29 lines) | stat: -rwxr-xr-x 652 bytes parent folder | download | duplicates (3)
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
26
27
28
29
#!/usr/bin/make -f
# -*- makefile -*-

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

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

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- \
		--libdir=\$${prefix}/lib \
		$(shell dpkg-buildflags --export=configure)

override_dh_auto_build:
	dh_auto_build
	cd po; intltool-update --verbose --pot

override_dh_install:
	rm debian/pidgin-otr/usr/lib/pidgin/*.la
	dh_install --fail-missing -X.la

# The "shared" library we ship is not managed by ldconfig and friends.
override_dh_makeshlibs:
	true