Translating the documentation is slow.
Add a feature which can be used to disable this step.
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
(cherry picked from commit
188f3af3e8f3c7effbdb4b91994f1b16db4874b5)
option('btrfs', type : 'feature')
option('widechar', type : 'feature',
description : 'compile with wide character support')
+option('translate-docs', type : 'feature',
+ description : 'translate documentation')
# enable building of various programs and features ("build-" prefix)
po4a = find_program('po4a', required : false)
-if not (asciidoctor.found() and po4a.found())
+if not get_option('translate-docs').require(asciidoctor.found()).require(po4a.found()).allowed()
subdir_done()
endif