summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-11-29 13:28:05 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-11-29 13:28:05 +0000
commitbb26d0c43b7752cf9c38f98b2d7036440fdb781c (patch)
tree10107763b0a02c1f30c4046284036543c4c31bd5 /build
parentd9232d5a77879ce381142e866cd53ed1fc46e32d (diff)
parente64b3655eb187c71fcd9e56354fa3821b2bbf6e3 (diff)
Merge "Adding more cleanups for Apex RPMS"
Diffstat (limited to 'build')
-rw-r--r--build/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/Makefile b/build/Makefile
index 2ff7c8eb..cb264b08 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -59,6 +59,9 @@ $(RPMCOM):
.PHONY: common-rpm-clean
common-rpm-clean:
+ rm -rf opnfv-apex-common-$(RPMVERS)
+ rm -rf opnfv-apex-common.tar.gz
+
##################
# PYTHON TESTS #
@@ -243,6 +246,9 @@ $(RPMUDR):
.PHONY: undercloud-rpm-clean
undercloud-rpm-clean:
+ rm -rf opnfv-apex-undercloud-$(RPMVERS)
+ rm -rf opnfv-apex-undercloud.tar.gz
+
###############
# OVERCLOUD #
@@ -296,6 +302,9 @@ $(RPMODL):
.PHONY: opendaylight-rpm-clean
opendaylight-rpm-clean:
+ rm -rf opnfv-apex-$(RPMVERS)
+ rm -rf opnfv-apex.tar.gz
+
###############
# ONOS #
@@ -317,6 +326,7 @@ images/overcloud-full-onos.qcow2: images/overcloud-full.qcow2
.PHONY: onos-rpm-clean
onos-rpm-clean:
@#rpmbuild --clean rpm_specs/opnfv-apex-onos.spec -D "release $(shell echo $RELEASE | tr -d '_-')"
+ rm -rf opnfv-apex-onos-$(RPMVERS)
rm -rf opnfv-apex-onos.tar.gz
opnfv-apex-onos.tar.gz: images/overcloud-full-onos.qcow2