summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gla11y.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/gla11y.mk b/gla11y.mk
index abe9f534..4194a9d8 100644
--- a/gla11y.mk
+++ b/gla11y.mk
@@ -10,7 +10,9 @@ a11y_verbose_1 =
all-local: $(GLA11Y_OUTPUT)
$(GLA11Y_OUTPUT): $(ui_files)
- $(a11y_verbose) python3 $(GLA11Y) -P $(srcdir)/ -f $(srcdir)/$(GLA11Y_FALSE) -s $(srcdir)/$(GLA11Y_SUPPR) -o $@ $(ui_files:%=$(srcdir)/%)
+ $(a11y_verbose) if [[ $(GLA11Y) == *gla11y ]]; then \
+ python3 $(GLA11Y) -P $(srcdir)/ -f $(srcdir)/$(GLA11Y_FALSE) -s $(srcdir)/$(GLA11Y_SUPPR) -o $@ $(ui_files:%=$(srcdir)/%); \
+ fi
clean-local: clean-local-check
clean-local-check: