Auto merge of #4567 - oxarbitrage:issue4537, r=daira
Build BDB utilities To install the binaries we need to build with just `install` instead of `install_lib` and `install_include`, this will install everything. Then the binaries will be moved to a folder in `zcutil` directory. We can just leave them in staging however the user might have a hard time to find them there. Closes https://github.com/zcash/zcash/issues/4537
This commit is contained in:
commit
022c3a4c6d
|
@ -7,6 +7,7 @@ src/zcash-cli
|
||||||
src/zcash-gtest
|
src/zcash-gtest
|
||||||
src/zcash-tx
|
src/zcash-tx
|
||||||
src/test/test_bitcoin
|
src/test/test_bitcoin
|
||||||
|
zcutil/bin/
|
||||||
|
|
||||||
*zcashTest.pk
|
*zcashTest.pk
|
||||||
*zcashTest.vk
|
*zcashTest.vk
|
||||||
|
@ -116,5 +117,6 @@ libzcashconsensus.pc
|
||||||
contrib/debian/files
|
contrib/debian/files
|
||||||
contrib/debian/substvars
|
contrib/debian/substvars
|
||||||
|
|
||||||
|
src/fuzzing/*/input
|
||||||
src/fuzzing/*/output
|
src/fuzzing/*/output
|
||||||
src/fuzz.cpp
|
src/fuzz.cpp
|
||||||
|
|
|
@ -169,3 +169,7 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-man
|
||||||
clean-local:
|
clean-local:
|
||||||
rm -rf test_bitcoin.coverage/ zcash-gtest.coverage/ total.coverage/
|
rm -rf test_bitcoin.coverage/ zcash-gtest.coverage/ total.coverage/
|
||||||
rm -rf afl-temp
|
rm -rf afl-temp
|
||||||
|
|
||||||
|
distclean-local:
|
||||||
|
rm -f zcutil/bin/db_*
|
||||||
|
rmdir zcutil/bin 2>/dev/null || true
|
||||||
|
|
|
@ -32,5 +32,11 @@ define $(package)_build_cmds
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
define $(package)_stage_cmds
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install_lib install_include
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
||||||
|
endef
|
||||||
|
|
||||||
|
define $(package)_postprocess_cmds
|
||||||
|
cd $(BASEDIR)/../zcutil && \
|
||||||
|
mkdir -p bin && \
|
||||||
|
mv -f $($(package)_staging_dir)$(host_prefix)/bin/db_* bin
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -10,3 +10,6 @@ rm -rf depends/sources
|
||||||
rm -rf afl-temp
|
rm -rf afl-temp
|
||||||
rm -rf src/fuzzing/*/output
|
rm -rf src/fuzzing/*/output
|
||||||
|
|
||||||
|
# These are not in clean.sh because they are only generated when building dependencies.
|
||||||
|
rm -f zcutil/bin/db_*
|
||||||
|
rmdir zcutil/bin 2>/dev/null || true
|
||||||
|
|
Loading…
Reference in New Issue