2011-10-25 22:48:36 +02:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# -*- mode: makefile; coding: utf-8 -*-
|
|
|
|
|
2024-02-05 23:00:22 +01:00
|
|
|
#DEB_MAKE_CHECK_TARGET = test_neobytes
|
|
|
|
#build/neobytesd::
|
|
|
|
# $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,src/test_neobytes)
|
2011-10-25 22:48:36 +02:00
|
|
|
|
2024-02-05 23:00:22 +01:00
|
|
|
DEB_INSTALL_EXAMPLES_neobytesd += debian/examples/*
|
|
|
|
DEB_INSTALL_MANPAGES_neobytesd += debian/manpages/*
|
2011-10-25 22:48:36 +02:00
|
|
|
|
|
|
|
%:
|
2012-05-23 21:27:41 +02:00
|
|
|
dh --with bash-completion $@
|
2011-10-25 22:48:36 +02:00
|
|
|
|
|
|
|
override_dh_auto_clean:
|
2014-04-27 02:18:18 +02:00
|
|
|
if [ -f Makefile ]; then $(MAKE) distclean; fi
|
2024-02-05 23:00:22 +01:00
|
|
|
rm -rf Makefile.in aclocal.m4 configure src/Makefile.in src/neobytes-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
|
|
|
|
2014-04-27 02:18:18 +02:00
|
|
|
# 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:
|
2014-04-27 02:18:18 +02:00
|
|
|
./autogen.sh
|
2016-06-30 19:21:00 +02:00
|
|
|
./configure --without-miniupnpc --with-gui=qt4
|
2011-10-25 22:48:36 +02:00
|
|
|
|
|
|
|
override_dh_auto_test:
|
2014-04-27 02:18:18 +02:00
|
|
|
make check
|