-overcloud.yaml: overcloud-source.yaml nova-compute-instance.yaml swift-source.yaml
- # $^ won't work here because we want to list nova-compute-instance.yaml as
- # a prerequisite but don't want to pass it into merge.py
- python ./tripleo_heat_merge/merge.py overcloud-source.yaml swift-source.yaml > $@.tmp
- mv $@.tmp $@
+generated_templates = \
+ overcloud.yaml \
+ overcloud-with-block-storage-nfs.yaml \
+ undercloud-vm.yaml \
+ undercloud-bm.yaml \
+ undercloud-vm-ironic.yaml \
+ undercloud-vm-ironic-vlan.yaml
+
+# Files included in deprecated/overcloud-source.yaml via FileInclude
+overcloud_source_deps = deprecated/nova-compute-instance.yaml
+
+all: $(generated_templates)
+VALIDATE := $(patsubst %,validate-%,$(generated_templates))
+validate-all: $(VALIDATE)
+$(VALIDATE):
+ heat template-validate -f $(subst validate-,,$@)