From 47c7d8ee50b722a92e75ed720f9c2f6a3a23413c Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Wed, 28 Dec 2016 00:55:17 +0100 Subject: [PATCH] Problem: debian build fails with automake < 1.14 Solution: create config subdir as a workaround if building the packages with automake < 1.14 --- packaging/debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packaging/debian/rules b/packaging/debian/rules index 2ed87470..4eaa878e 100755 --- a/packaging/debian/rules +++ b/packaging/debian/rules @@ -31,6 +31,9 @@ ifneq (,$(findstring drafts,$(DEB_BUILD_OPTIONS))) DRAFTS=yes endif +# Workaround for automake < 1.14 bug +$(shell dpkg --compare-versions `dpkg-query -W -f='$${Version}\n' automake` lt 1:1.14 && mkdir -p config) + override_dh_clean: dh_clean find $(CURDIR) -type s -exec rm {} \;