mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-02-18 03:08:49 +00:00
3c99a18a7d00d5f41870a7312ba06a22573e6424 - Primarily bitcoin Bitcoin and BITCOIN - A few fixes (e.g. bitcoin.org -> dogecoin.com) - Debian building not actually tested, I'm doing this to prep for RPMs
34 lines
899 B
Makefile
Executable File
34 lines
899 B
Makefile
Executable File
#!/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)
|
|
|
|
DEB_INSTALL_EXAMPLES_dogecoind += debian/examples/*
|
|
DEB_INSTALL_MANPAGES_dogecoind += debian/manpages/*
|
|
|
|
%:
|
|
dh --with bash-completion $@
|
|
|
|
override_dh_auto_build:
|
|
cd src; $(MAKE) -f makefile.unix dogecoind
|
|
$(MAKE)
|
|
|
|
override_dh_auto_clean:
|
|
if [ -f Makefile ]; then $(MAKE) clean; else rm -rf build/; rm -f dogecoin-qt; fi
|
|
cd src; $(MAKE) -f makefile.unix clean
|
|
|
|
override_dh_auto_configure:
|
|
qmake dogecoin-qt.pro USE_QRCODE=1
|
|
|
|
override_dh_auto_test:
|
|
cd src; $(MAKE) -f makefile.unix test_dogecoin
|
|
src/test_dogecoin
|
|
|
|
# Ensure wrapper is set executable
|
|
binary-post-install/dogecoind:
|
|
chmod +x $(cdbs_curdestdir)usr/bin/dogecoind
|
|
binary-post-install/dogecoin-qt:
|
|
chmod +x $(cdbs_curdestdir)usr/bin/dogecoin-qt
|