File: rules

package info (click to toggle)
libxmu 2:1.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 2,404 kB
  • ctags: 890
  • sloc: sh: 11,332; ansic: 8,565; xml: 4,435; makefile: 138; cpp: 102
file content (34 lines) | stat: -rwxr-xr-x 957 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
#!/usr/bin/make -f
# debian/rules for the Debian libxmu 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

.PHONY: build
build:
	dh build --with quilt,autoreconf --builddirectory=build/ --parallel

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

override_dh_auto_configure:
	dh_auto_configure -- \
		--disable-silent-rules \
		--docdir=\$${prefix}/share/doc/libxmu-headers \
		--with-xmlto \
		--without-fop

override_dh_auto_install:
	dh_auto_install
	find debian/tmp/usr/share/doc/libxmu-headers -name '*.xml' -delete

override_dh_install-arch:
	dh_install --fail-missing -Xusr/include -X.la

override_dh_strip:
	dh_strip -Nlibxmu6 -Nlibxmuu1
	dh_strip -plibxmu6 --dbg-package=libxmu6-dbg
	dh_strip -plibxmuu1 --dbg-package=libxmuu1-dbg