SWAMID-649 Update cert login.quicksearch.se
[swamid-metadata.git] / Makefile.validate
index 72afb86..fafe8d0 100644 (file)
@@ -1,7 +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 $<
+all: validate
 
 validate: $(VALIDATEXML)
+.time/%.validate: swamid-2.0/%.xml
+       @docker exec swamid-metadata-sp /var/www/scripts/importXML.bash /opt/swamid-metadata/$< Prod | grep -v "Import -> Added to db" > $@