#!/usr/bin/make -f include /usr/share/dpkg/pkg-info.mk export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed # Pass the Debian package version export VERSION := ${DEB_VERSION} %: dh $@ override_dh_auto_install: dh_auto_install -- prefix=/usr override_dh_auto_test: @echo "Skipping test suite" # Simple sanity check that program can be run ./qdl -v ./qdl -h override_dh_install: help2man -N -n "Qualcomm Download" -o qdl.1 ./qdl dh_install