File: rules

package info (click to toggle)
libvirt-sandbox 0.5.1+git20160404-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 3,104 kB
  • ctags: 1,964
  • sloc: ansic: 12,696; python: 2,110; makefile: 447; sh: 302; xml: 151; perl: 110
file content (28 lines) | stat: -rwxr-xr-x 806 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
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

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

# main packaging script based on dh7 syntax
%:
	dh $@ --buildsystem=autoconf


override_dh_auto_configure:
	[ -x ./configure ] || ./autogen.sh
	dh_auto_configure -- --enable-introspection \
	                     --with-capng \
	                     --with-lzma \
	                     --libexecdir /usr/lib/$(DEB_HOST_MULTIARCH)/libvirt-sandbox/ \
	                     $(NULL)

override_dh_auto_clean:
	[ ! -f Makefile ] || dh_auto_clean