summaryrefslogtreecommitdiffstats
path: root/build/Makefile
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-11-23 12:20:20 -0500
committerDan Radez <dradez@redhat.com>2016-11-23 12:20:20 -0500
commite64b3655eb187c71fcd9e56354fa3821b2bbf6e3 (patch)
treebd5a7e53a878b449cb5144e17b93caee3581775c /build/Makefile
parent9c9e9a64d472be177892049bf8dcb920c4fbc0d1 (diff)
Adding more cleanups for Apex RPMS
Change-Id: Ief9b017a290816c941fd8c15e5877cda81bb67cf Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'build/Makefile')
-rw-r--r--build/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/Makefile b/build/Makefile
index c693e89..226bc09 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 #
@@ -242,6 +245,9 @@ $(RPMUDR):
.PHONY: undercloud-rpm-clean
undercloud-rpm-clean:
+ rm -rf opnfv-apex-undercloud-$(RPMVERS)
+ rm -rf opnfv-apex-undercloud.tar.gz
+
###############
# OVERCLOUD #
@@ -295,6 +301,9 @@ $(RPMODL):
.PHONY: opendaylight-rpm-clean
opendaylight-rpm-clean:
+ rm -rf opnfv-apex-$(RPMVERS)
+ rm -rf opnfv-apex.tar.gz
+
###############
# ONOS #
@@ -316,6 +325,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