summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-08-08 12:17:53 -0300
committerGuido Günther <agx@sigxcpu.org>2017-08-08 12:23:20 -0300
commita4d984a8c175249632643329af8889f1a52bc00f (patch)
tree3cdd4792426bb9112efc41e1b060998b12ebb3eb
parent2d44ea7c9f73d2bf9ad7a1ab8cee49ee8a2e245b (diff)
Run ./autogen.sh conditionallyHEADdebian/sid
This helps crossbuild but still allows us to build git snapshots. Based on a patch from Helmut Grohne Closes: #871475
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 987e69c..b2322c5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ include /usr/share/dpkg/buildflags.mk
dh $@
override_dh_auto_configure:
- ./autogen.sh
+ [ -f ./configure ] || ./autogen.sh
dh_auto_configure -- \
--libexecdir=/usr/lib/NetworkManager \
--disable-static