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
|
#!/usr/bin/make -f
# debian/rules file for the sg3-utils package
# This has to be exported to make some magic below work.
export DH_OPTIONS
# For Hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
PKG_VERS=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
get-orig-source:
uscan --force-download --rename --repack --download-version=$(PKG_VERS) --destdir=.
%:
dh "$@" --with autoreconf
.PHONY: get-orig-source
|