#!/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: help2man -N -n "Qualcomm Download" -o debian/qdl.1 ./qdl help2man -N -n "Qualcomm Download Ramdump" -o debian/qdl-ramdump.1 ./qdl-ramdump help2man -N -n "Qualcomm Kickstart" -o debian/ks.1 ./ks dh_auto_install -- prefix=/usr override_dh_installman: dh_installman debian/qdl.1 dh_installman debian/qdl-ramdump.1 dh_installman debian/ks.1 override_dh_auto_test: @echo "Skipping test suite" # Simple sanity check that program can be run ./qdl -v ./qdl -h