summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-07-17 11:11:45 +0200
committerraveit65 <[email protected]>2019-07-17 11:11:45 +0200
commit3fb05765664fd045997a9827c3ba9598a8962a1c (patch)
tree3078e3408cd23115ba59e1d08d2bae0d5ff725d0
parent32a17790317548b8a7ce341dc51d84f037a5b752 (diff)
downloadcaja-3fb05765664fd045997a9827c3ba9598a8962a1c.tar.bz2
caja-3fb05765664fd045997a9827c3ba9598a8962a1c.tar.xz
fix build error when gla11y is not installed
-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: