File: rules

package info (click to toggle)
libxinerama 2%3A1.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 1,764 kB
  • sloc: sh: 4,188; ansic: 316; makefile: 62
file content (29 lines) | stat: -rwxr-xr-x 762 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
#!/usr/bin/make -f
# debian/rules for the Debian libxinerama 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 = libxinerama1

%:
	dh $@ --builddirectory=build/

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp

override_dh_missing:
	find debian/tmp -name '*.la' -delete

	dh_missing --fail-missing

override_dh_strip:
	dh_strip -p$(PACKAGE) --dbgsym-migration='$(PACKAGE)-dbg (<< 2:1.1.4-1~)'
	dh_strip -N$(PACKAGE)

override_dh_makeshlibs:
	dh_makeshlibs --add-udeb=$(PACKAGE)-udeb