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 -*- | ||||
%: | %: | ||||
dh $@ --buildsystem=cmake+ninja --builddirectory=_build | dh $@ --buildsystem=cmake+ninja --builddirectory=_build | ||||
override_dh_auto_configure: | override_dh_auto_configure: | ||||
dh_auto_configure -- \ | dh_auto_configure -- \ | ||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||||
-DCMAKE_INSTALL_PREFIX=$$(pwd)/debian/tmp \ | -DCMAKE_INSTALL_PREFIX=$$(pwd)/debian/tmp \ | ||||
-DCLIENT_VERSION_IS_RELEASE=ON \ | -DCLIENT_VERSION_IS_RELEASE=ON \ | ||||
-DUSE_JEMALLOC=OFF | -DUSE_JEMALLOC=OFF \ | ||||
-DBUILD_LIBBITCOINCONSENSUS=OFF \ | |||||
-DBUILD_BITCOIN_SEEDER=OFF | |||||
override_dh_auto_test: | override_dh_auto_test: | ||||
ninja -C _build check | ninja -C _build check | ||||
override_dh_auto_install: | override_dh_auto_install: | ||||
ninja -C _build install/strip | ninja -C _build install/strip | ||||
DESTDIR= xvfb-run ninja -C _build install-manpages | DESTDIR= xvfb-run ninja -C _build install-manpages | ||||
# Skip the dwz step since the files are stripped already. | # Skip the dwz step since the files are stripped already. | ||||
# https://manpages.debian.org/testing/debhelper/dh_dwz.1.en.html | # https://manpages.debian.org/testing/debhelper/dh_dwz.1.en.html | ||||
override_dh_dwz: ; | override_dh_dwz: ; | ||||
# Enforce dh_missing to issue warnings when files are present but not installed. | |||||
# Note that this is the default with compat level 12. | |||||
override_dh_missing: | |||||
dh_missing --list-missing |