File: rules

package info (click to toggle)
libice 2%3A1.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,244 kB
  • ctags: 718
  • sloc: sh: 11,332; xml: 6,396; ansic: 5,939; makefile: 85
file content (33 lines) | stat: -rwxr-xr-x 1,030 bytes parent folder | download | duplicates (2)
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
30
31
32
33
#!/usr/bin/make -f
# debian/rules for the Debian libice package.
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>
# Copyright © 2005 Daniel Stone <daniel@fooishbar.org>
# Copyright © 2005 David Nusinow <dnusinow@debian.org>

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

# set this to the name of the main shlib's binary package
PACKAGE = libice6

%:
	dh $@ --with quilt,autoreconf --builddirectory=build/ --parallel

override_dh_auto_configure-arch: docflags = --disable-docs --disable-specs
override_dh_auto_configure-indep: docflags = --enable-docs --enable-specs
override_dh_auto_configure-arch override_dh_auto_configure-indep:
	dh_auto_configure -- \
		--docdir=\$${datadir}/doc/libice-dev \
		--disable-silent-rules \
		$(docflags)

override_dh_install:
	dh_install --sourcedir=debian/tmp --fail-missing --exclude=libICE.la

override_dh_strip:
	dh_strip -p$(PACKAGE) --dbg-package=$(PACKAGE)-dbg
	dh_strip -N$(PACKAGE)

override_dh_makeshlibs:
	dh_makeshlibs -a -V'$(PACKAGE) (>= 1:1.0.0)'