DEB uncrustify: Switch to build using ninja-build.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/3/head
Slávek Banko 3 years ago
parent 161fd5e618
commit 6eae1a16a1
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1,3 +1,9 @@
uncrustify-trinity (0.72.0-0debian11.0.0+8) unstable; urgency=medium
* Switch to build using ninja-build
-- Slávek Banko <slavek.banko@axis.cz> Tue, 18 May 2021 19:30:49 +0200
uncrustify-trinity (0.72.0-0debian11.0.0+7) unstable; urgency=medium
* TDE version 0.72-0+7

@ -2,7 +2,7 @@ Source: uncrustify-trinity
Section: deps-r14/devel
Priority: optional
Maintainer: Alexander GQ Gerasiov <gq@debian.org>
Build-Depends: debhelper (>= 9~), cmake (>= 3.0~), python3 (>= 3.3~), gcc (>= 4:4.9~)
Build-Depends: debhelper (>= 9~), cmake (>= 3.0~), ninja-build, python3 (>= 3.3~), gcc (>= 4:4.9~)
Standards-Version: 4.5.0
Homepage: https://github.com/uncrustify/uncrustify
Vcs-Git: https://salsa.debian.org/debian/uncrustify.git

@ -3,11 +3,18 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
ifneq "$(wildcard /usr/bin/ninja)" ""
MAKE = ninja -v
DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
DEB_MAKE_INSTALL_TARGET = install
DEB_CMAKE_NORMAL_ARGS += -GNinja
endif
%:
dh $@
override_dh_auto_configure:
dh_auto_configure $@ -- -DUNCRUSTIFY_SEPARATE_TESTS=ON
dh_auto_configure $@ -- $(DEB_CMAKE_NORMAL_ARGS) -DUNCRUSTIFY_SEPARATE_TESTS=ON
override_dh_clean:
dh_clean

Loading…
Cancel
Save