summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-07-12 15:25:13 +0800
committerraveit65 <[email protected]>2019-07-17 09:38:54 +0200
commit97802ed4fc65bf6cb7f7253ffc89ea683f595fa2 (patch)
tree0805db4d7f6ac063b6e6b50d8a0f11dac17bb540
parent0f0f7ca9fe376bdd279c76588eb8e9ed69aeabcf (diff)
downloadmate-control-center-97802ed4fc65bf6cb7f7253ffc89ea683f595fa2.tar.bz2
mate-control-center-97802ed4fc65bf6cb7f7253ffc89ea683f595fa2.tar.xz
fix build error when not installed gla11y
-rw-r--r--gla11y.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/gla11y.mk b/gla11y.mk
index abe9f534..5f7f805c 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: