summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cdfd9a42..7da02219 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,15 @@
+generated_templates = \
+ overcloud.yaml \
+ undercloud-vm.yaml \
+ undercloud-bm.yaml \
+ undercloud-vm-tuskar.yaml \
+ undercloud-vm-ironic.yaml
+
# Files included in overcloud-source.yaml via FileInclude
overcloud_source_deps = nova-compute-instance.yaml
+all: $(generated_templates)
+
overcloud.yaml: overcloud-source.yaml swift-source.yaml $(overcloud_source_deps)
python ./tripleo_heat_merge/merge.py overcloud-source.yaml swift-source.yaml > $@.tmp
mv $@.tmp $@
@@ -23,3 +32,6 @@ undercloud-vm-ironic.yaml: undercloud-source.yaml undercloud-vm-source.yaml iron
test:
@bash test_merge.bash
+
+clean:
+ rm -f $(generated_templates)