Changeset View
Changeset View
Standalone View
Standalone View
contrib/debian/rules
#!/usr/bin/make -f | #!/usr/bin/make -f | ||||
# -*- mode: makefile; coding: utf-8 -*- | # -*- mode: makefile; coding: utf-8 -*- | ||||
#DEB_MAKE_CHECK_TARGET = test_bitcoin | #DEB_MAKE_CHECK_TARGET = test_bitcoin | ||||
#build/bitcoind:: | #build/bitcoind:: | ||||
# $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,src/test_bitcoin) | # $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,src/test_bitcoin) | ||||
%: | %: | ||||
dh --with bash-completion $@ | dh $@ --with bash-completion | ||||
override_dh_auto_clean: | override_dh_auto_clean: | ||||
if [ -f Makefile ]; then $(MAKE) distclean; fi | 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 | 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 | # Yea, autogen should be run on the source archive, but I like doing git archive | ||||
override_dh_auto_configure: | override_dh_auto_configure: | ||||
./autogen.sh | ./autogen.sh | ||||
./configure | ./configure | ||||
override_dh_auto_test: | override_dh_auto_test: | ||||
make check | make check |