File: rules

package info (click to toggle)
libxext 2%3A1.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,592 kB
  • sloc: ansic: 5,535; sh: 4,150; xml: 3,143; makefile: 167
file content (37 lines) | stat: -rwxr-xr-x 1,088 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
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/make -f
# debian/rules for the Debian libxext 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 = libxext6

export DEB_CFLAGS_MAINT_APPEND=-Wall

%:
	dh $@ --builddirectory=build/

docflags = --docdir=/usr/share/doc/libxext-dev

override_dh_auto_configure-arch: docflags += --disable-specs
override_dh_auto_configure-indep: docflags += --enable-specs --with-xmlto --without-fop

override_dh_auto_configure-arch override_dh_auto_configure-indep:
	dh_auto_configure -- $(docflags)

override_dh_install:
	# Kill *.xml, we don't need them:
	find debian/tmp -name '*.xml' -delete
	find debian/tmp -name '*.db' -delete
	find debian/tmp -name '*.la' -delete
	dh_install

override_dh_missing:
	dh_missing --fail-missing

override_dh_makeshlibs:
	dh_makeshlibs -V"$(PACKAGE) (>= 2:1.3.0)" --add-udeb=$(PACKAGE)-udeb -- -c4