summaryrefslogtreecommitdiff
path: root/gla11y.mk
diff options
context:
space:
mode:
authorSamuel Thibault <[email protected]>2019-07-01 16:18:56 +0200
committerraveit65 <[email protected]>2019-07-08 14:28:07 +0200
commit9a0031211ae0ac88053de91b429ecf3b8d6d2d17 (patch)
treefc592148504ba28d935bf4cb67734f17f0ddf540 /gla11y.mk
parentedb9b6f0a426686350e9ac9ea903507d358c1994 (diff)
downloadcaja-9a0031211ae0ac88053de91b429ecf3b8d6d2d17.tar.bz2
caja-9a0031211ae0ac88053de91b429ecf3b8d6d2d17.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