diff options
author | Mark McLoughlin <markmc@redhat.com> | 2014-01-14 14:02:34 +0000 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2014-01-14 14:02:34 +0000 |
commit | 787418f73ee9721cc3e8b93e2f82be38be9d9588 (patch) | |
tree | 068e8d0df7d7ad50f3af7aa58c3c8274f20111e9 | |
parent | 5ea44eb897a1f4da3d95a6ad9c3e875029caf82d (diff) |
Add all and clean targets to makefile
Just for convenience, particularly 'make clean'.
Change-Id: Ic9964ace7fb4c675e84b3b9343fc8239abca44ac
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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) |