diff --git a/tools/work/Makefile b/tools/work/Makefile index 869a3ec2f8..529cd4c0b6 100644 --- a/tools/work/Makefile +++ b/tools/work/Makefile @@ -31,7 +31,13 @@ test: -@find $(THEMES) -not -iregex '.*/[-_\.+@a-z0-9]*' -print # --- TEST COMPLETED --- -.PHONY: all clean convert prepare put test +validate: + # >>> Validate SVG files (the process takes a long time) + -@find $(THEMES) -type f -name '*.svg' \ + -exec xmlstarlet validate --list-bad '{}' \; + # --- VALIDATE COMPLETED --- + +.PHONY: all clean convert prepare put test validate # allows to run goals from the main Makefile .PHONY: install uninstall dist release undo_release