dogecoin/contrib/debian/rules

24 lines
711 B
Plaintext
Raw Normal View History

2011-10-25 22:48:36 +02:00
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
#DEB_MAKE_CHECK_TARGET = test_dogecoin
#build/dogecoind::
# $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,src/test_dogecoin)
2011-10-25 22:48:36 +02:00
%:
dh --with bash-completion $@
2011-10-25 22:48:36 +02:00
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
2011-10-25 22:48:36 +02:00
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
2011-10-25 22:48:36 +02:00
override_dh_auto_configure:
./autogen.sh
./configure --with-gui=$(QT)
2011-10-25 22:48:36 +02:00
override_dh_auto_test:
make check