File: rules

package info (click to toggle)
libqb 1.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,188 kB
  • sloc: ansic: 24,379; sh: 11,796; makefile: 401; python: 140
file content (38 lines) | stat: -rwxr-xr-x 867 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
38
#!/usr/bin/make -f

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Ensure that we link against all needed libraries (cf. Policy 10.2)
export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs

# verbose testsuite results (#754692)
export VERBOSE=1

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-socket-dir=/tmp \
		--disable-static

override_dh_auto_build-indep:
	$(MAKE) doxygen
	rm docs/html/*.md5

# The check or install target would unnecessarily build the software
override_dh_auto_test-indep:
override_dh_auto_install-indep:

override_dh_auto_install-arch:
	dh_auto_install
	rm -v debian/tmp/usr/lib/*/lib*.la
	cd debian/tmp/usr/share/doc/libqb && \
	    rm -v COPYING INSTALL README.markdown

override_dh_installdocs:
	dh_installdocs -A README.markdown

override_dh_missing:
	dh_missing --fail-missing