summaryrefslogtreecommitdiff
path: root/gla11y.mk
diff options
context:
space:
mode:
authorSamuel Thibault <[email protected]>2019-07-01 17:10:44 +0200
committerraveit65 <[email protected]>2019-07-08 15:11:17 +0200
commit45145244b6dd9dc11b6d9a6daf4e442cef9457fa (patch)
tree7a177dc7e47804d72766a6b852ab34c9523ee8e5 /gla11y.mk
parentdb655f3fb2f67b695d36369e584fcb598e0e1bea (diff)
downloadpluma-45145244b6dd9dc11b6d9a6daf4e442cef9457fa.tar.bz2
pluma-45145244b6dd9dc11b6d9a6daf4e442cef9457fa.tar.xz
Add support for checking .ui accessibility with gla11y
Diffstat (limited to 'gla11y.mk')
-rw-r--r--gla11y.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/gla11y.mk b/gla11y.mk
new file mode 100644
index 00000000..abe9f534
--- /dev/null
+++ b/gla11y.mk
@@ -0,0 +1,19 @@
+GLA11Y_OUTPUT = ui-a11y.err
+GLA11Y_SUPPR = ui-a11y.suppr
+GLA11Y_FALSE = ui-a11y.false
+
+a11y_verbose = $(a11y_verbose_@AM_V@)
+a11y_verbose_ = $(a11y_verbose_@AM_DEFAULT_V@)
+a11y_verbose_0 = @echo " A11Y " $@;
+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)/%)
+
+clean-local: clean-local-check
+clean-local-check:
+ -rm -f $(GLA11Y_OUTPUT)
+
+.PHONY: clean-local-check