diff options
author | B Stack <bgstack15@gmail.com> | 2019-12-17 22:16:43 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-12-17 22:16:43 -0500 |
commit | 4b03fbc63982cf96584714fa00efe30f0cbd9888 (patch) | |
tree | 89c228c782561586b575c0ccb6d0b77ae9628af9 /simple-mtpfs/debian/rules | |
parent | Merge branch 'updates' into 'master' (diff) | |
download | stackrpms-4b03fbc63982cf96584714fa00efe30f0cbd9888.tar.gz stackrpms-4b03fbc63982cf96584714fa00efe30f0cbd9888.tar.bz2 stackrpms-4b03fbc63982cf96584714fa00efe30f0cbd9888.zip |
simple-mtpfs dpkg rc1
Used for obs attempt 1.
Diffstat (limited to 'simple-mtpfs/debian/rules')
-rwxr-xr-x | simple-mtpfs/debian/rules | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/simple-mtpfs/debian/rules b/simple-mtpfs/debian/rules new file mode 100755 index 0000000..ec34512 --- /dev/null +++ b/simple-mtpfs/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +# minimise needless linking +export DEB_LDFLAGS_MAINT_APPEND= -Wl,--as-needed + +%: + dh $@ --parallel --with autoreconf + +# use --as-needed only if supported by dh-autoreconf (to simplify backporting) +DH_AS_NEEDED=$(shell dpkg --compare-versions $$(dpkg --status dh-autoreconf | grep Version | cut -d' ' -f2) ge 6 && echo --as-needed) +override_dh_autoreconf: + [ ! -x "./autogen.sh" ] || ./autogen.sh + dh_autoreconf $(DH_AS_NEEDED) |