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)