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 $@ validate: $(VALIDATEXML)