diff options
author | Matt Corallo <git@bluematt.me> | 2014-04-26 20:18:18 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2014-04-26 20:18:18 -0400 |
commit | 6e40fcf45575801651ea9598f9bfc24fc342507a (patch) | |
tree | d6ccfa2e313d90e965d8b42486435c2253802786 /contrib/debian/rules | |
parent | 4765b8c11679aeb76efd9ce907a5c17661d4b018 (diff) |
Update contrib/debian for autotools, among a few other tweaks
Diffstat (limited to 'contrib/debian/rules')
-rwxr-xr-x | contrib/debian/rules | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/contrib/debian/rules b/contrib/debian/rules index 98bb2bba1c..52b357cf01 100755 --- a/contrib/debian/rules +++ b/contrib/debian/rules @@ -11,23 +11,14 @@ DEB_INSTALL_MANPAGES_bitcoind += debian/manpages/* %: dh --with bash-completion $@ -override_dh_auto_build: - cd src; $(MAKE) -f makefile.unix bitcoind - $(MAKE) - override_dh_auto_clean: - if [ -f Makefile ]; then $(MAKE) clean; else rm -rf build/; rm -f bitcoin-qt; fi - cd src; $(MAKE) -f makefile.unix 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 +# Yea, autogen should be run on the source archive, but I like doing git archive override_dh_auto_configure: - qmake bitcoin-qt.pro USE_QRCODE=1 + ./autogen.sh + ./configure override_dh_auto_test: - cd src; $(MAKE) -f makefile.unix test_bitcoin - src/test_bitcoin - -# Ensure wrapper is set executable -binary-post-install/bitcoind: - chmod +x $(cdbs_curdestdir)usr/bin/bitcoind -binary-post-install/bitcoin-qt: - chmod +x $(cdbs_curdestdir)usr/bin/bitcoin-qt + make check |