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 committed 2022-03-08 09:59:30 +00:00
1 parent b9f59a1272
commit 9fc298f4bb
1 file changed
+4
+4
View File
@@ -27,6 +27,10 @@ configure_options = \
--without-smack \
$(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)),)
configure_options += --enable-gtk-doc
else