summaryrefslogtreecommitdiff
path: root/Makefile.validate
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2021-03-11 17:34:57 +0100
committerBjörn Mattsson <bjorn@sunet.se>2021-03-11 17:34:57 +0100
commit29d45d0b0b3bf81c7693d50bd77f3388f8de7f3c (patch)
tree235440ed01b40d6e9839e3511b5e38768584edb8 /Makefile.validate
parent22ec03f78674419a898c670600751d2915f25bc6 (diff)
Updated Makefile.validate to add entityID to .validate-file, updated update-and-validate.sh to remove old entitys
Diffstat (limited to 'Makefile.validate')
-rw-r--r--Makefile.validate7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.validate b/Makefile.validate
index 324b82dd..f7c968b0 100644
--- a/Makefile.validate
+++ b/Makefile.validate
@@ -1,8 +1,7 @@
-
VALIDATEXML=$(patsubst swamid-2.0/%.xml,.time/%.validate,$(wildcard swamid-2.0/*.xml))
-.time/%.validate: swamid-2.0/%.xml
- @docker exec release-check /var/www/scripts/importXML.bash /opt/swamid-metadata/$< Prod
- @touch $@
+all: validate
validate: $(VALIDATEXML)
+.time/%.validate: swamid-2.0/%.xml
+ @docker exec release-check /var/www/scripts/importXML.bash /opt/swamid-metadata/$< Prod > $@