File: rules

package info (click to toggle)
libxaw 2%3A1.0.13-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 4,396 kB
  • ctags: 3,945
  • sloc: ansic: 37,290; xml: 19,657; sh: 11,262; makefile: 297
file content (32 lines) | stat: -rwxr-xr-x 875 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
#!/usr/bin/make -f
# debian/rules for the Debian libxaw 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

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

docflags = --enable-specs

override_dh_auto_configure-arch: docflags = --disable-specs
override_dh_auto_configure-arch override_dh_auto_configure-indep:
	dh_auto_configure -- \
		--docdir=\$${datadir}/doc/libxaw7-dev \
		--disable-xaw6 \
		--with-xmlto --without-fop \
		--disable-silent-rules \
		$(docflags)

override_dh_install:
	dh_install --fail-missing --exclude=.la

override_dh_strip:
	dh_strip -Nlibxaw7
	dh_strip -plibxaw7 --dbg-package=libxaw7-dbg

override_dh_compress:
	dh_compress -X.xml