2 # -*- mode: makefile; coding: utf-8 -*-
4 DEB_INSTALL_EXAMPLES_novacoind += debian/examples/*
5 DEB_INSTALL_MANPAGES_novacoind += debian/manpages/*
8 dh --with bash-completion $@
10 override_dh_auto_build:
11 cd src; $(MAKE) -f makefile.unix novacoind
14 override_dh_auto_clean:
15 if [ -f Makefile ]; then $(MAKE) clean; else rm -rf build/; rm -f novacoin-qt; fi
16 cd src; $(MAKE) -f makefile.unix clean
18 override_dh_auto_configure:
19 qmake novacoin-qt.pro USE_QRCODE=1
21 override_dh_auto_test:
22 cd src; $(MAKE) -f makefile.unix test_novacoin
25 # Ensure wrapper is set executable
26 binary-post-install/novacoind:
27 chmod +x $(cdbs_curdestdir)usr/bin/novacoind
28 binary-post-install/novacoin-qt:
29 chmod +x $(cdbs_curdestdir)usr/bin/novacoin-qt