d/rules: Explicitly disable JS-based tests where unreliable

Otherwise we'd build and install these tests if gjs (maybe an old
version) happens to be installed, despite it not being in Build-Depends.
This commit is contained in:
Simon McVittie 2022-03-08 02:01:50 +00:00
parent b9f59a1272
commit 9fc298f4bb
1 changed files with 4 additions and 0 deletions

4
debian/rules vendored
View File

@ -27,6 +27,10 @@ configure_options = \
--without-smack \ --without-smack \
$(NULL) $(NULL)
ifneq ($(filter alpha hppa ia64 m68k s390x sh4 sparc64 x32,$(DEB_HOST_ARCH)),)
configure_options += GJS=/nonexistent/gjs
endif
ifneq ($(filter libostree-doc,$(binaries)),) ifneq ($(filter libostree-doc,$(binaries)),)
configure_options += --enable-gtk-doc configure_options += --enable-gtk-doc
else else