File debian.rules of Package google-breakpad
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
# Multiarch support
export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
_BREAKPAD_BUILD_DIR = build
%:
dh $@ --parallel --builddirectory=$(_BREAKPAD_BUILD_DIR)
override_dh_auto_clean:
dh_auto_clean
override_dh_auto_configure:
dh_auto_configure -- --prefix=/usr
override_dh_auto_build:
dh_auto_build
override_dh_install:
dh_install --list-missing
override_dh_auto_test:
override_dh_lintian:
dh_lintian -- --profile debian