diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.72.0/debian/rules')
-rwxr-xr-x | debian/uncrustify-trinity/uncrustify-trinity-0.72.0/debian/rules | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/debian/rules b/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/debian/rules index 8b6ebe74..2ed2ae90 100755 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/debian/rules +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/debian/rules @@ -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 |