summaryrefslogtreecommitdiff
path: root/Makefile.validate
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.validate')
-rw-r--r--Makefile.validate7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.validate b/Makefile.validate
new file mode 100644
index 00000000..72afb86a
--- /dev/null
+++ b/Makefile.validate
@@ -0,0 +1,7 @@
+
+VALIDATEXML=$(patsubst swamid-2.0/%.xml,.time/%.validate,$(wildcard swamid-2.0/*.xml))
+
+.time/%.validate: swamid-2.0/%.xml
+ @/var/www/metadata/validate.py prod $<
+
+validate: $(VALIDATEXML)