2011-10-25 22:48:36 +02:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# -*- mode: makefile; coding: utf-8 -*-
|
|
|
|
|
|
|
|
#DEB_MAKE_CHECK_TARGET = test_bitcoin
|
|
|
|
#build/bitcoind::
|
|
|
|
# $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,src/test_bitcoin)
|
|
|
|
|
|
|
|
DEB_INSTALL_EXAMPLES_bitcoind += debian/examples/*
|
|
|
|
DEB_INSTALL_MANPAGES_bitcoind += debian/manpages/*
|
|
|
|
|
|
|
|
%:
|
2012-05-23 21:27:41 +02:00
|
|
|
dh --with bash-completion $@
|
2011-10-25 22:48:36 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
override_dh_auto_configure:
|
2012-04-05 03:19:27 +02:00
|
|
|
qmake bitcoin-qt.pro USE_QRCODE=1
|
2011-10-25 22:48:36 +02:00
|
|
|
|
|
|
|
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
|