diff options
author | Matt Corallo <git@bluematt.me> | 2017-05-04 17:15:16 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-05-05 13:29:38 -0400 |
commit | c5071e1f03085b4025f2a33fb2c3079d823d660c (patch) | |
tree | aae24d00a8fb8085fef1b38566881c1077516a9a /contrib/debian/rules | |
parent | a8e928699a6ab612459e836ba24af143eae37b0f (diff) |
Build with QT5 on Debian-based systems using contrib/debian
Diffstat (limited to 'contrib/debian/rules')
-rwxr-xr-x | contrib/debian/rules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/debian/rules b/contrib/debian/rules index 8db0b2dba5..354f15f320 100755 --- a/contrib/debian/rules +++ b/contrib/debian/rules @@ -12,10 +12,12 @@ override_dh_auto_clean: if [ -f Makefile ]; then $(MAKE) distclean; fi rm -rf Makefile.in aclocal.m4 configure src/Makefile.in src/bitcoin-config.h.in src/build-aux src/qt/Makefile.in src/qt/test/Makefile.in src/test/Makefile.in +QT=$(shell dpkg-vendor --derives-from Ubuntu && echo qt4 || echo qt5) + # Yea, autogen should be run on the source archive, but I like doing git archive override_dh_auto_configure: ./autogen.sh - ./configure --without-miniupnpc --with-gui=qt4 + ./configure --without-miniupnpc --with-gui=$(QT) override_dh_auto_test: make check |