summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-07-17 12:08:00 +0200
committerraveit65 <[email protected]>2019-07-17 12:08:00 +0200
commitcdd098013a810ccd8b8baeef3110676f87da1fa9 (patch)
tree4dafcc7e3c50c04b3df8e865cd782a06cd791ec0
parent7841131803aa8a4efb66ad291cf57505f309dc89 (diff)
downloadpluma-cdd098013a810ccd8b8baeef3110676f87da1fa9.tar.bz2
pluma-cdd098013a810ccd8b8baeef3110676f87da1fa9.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: