[BGPVPN] Uplift plugin to Mitaka
[fuel.git] / build / f_isoroot / f_ovsnfv-dpdk-pluginbuild / Makefile
index 6bc5769..9e432d1 100644 (file)
@@ -22,20 +22,18 @@ all: .ovsnfvbuild
 
 .PHONY: clean
 clean:
-       @rm -f .ovsnfvbuild ../release/opnfv/fuel-plugin-ovsnfv*.rpm fuel-plugin-ovsnfv*.rpm
+       @rm -f .ovsnfvbuild ../release/opnfv/fuel-plugin-ovsnfv-*.rpm fuel-plugin-ovsnfv-*.rpm
        @rm -f $(BUILD_BASE)/gitinfo_ovsnfv-dpdk-plugin.txt gitinfo_ovsnfv-dpdk-plugin.txt
 
 .PHONY: release
 release:.ovsnfvbuild
-       @rm -f ../release/opnfv/fuel-plugin-ovsnfv*.rpm
+       @rm -f ../release/opnfv/fuel-plugin-ovsnfv-*.rpm
        @mkdir -p ../release/opnfv
        @cp fuel-plugin-ovsnfv*.rpm ../release/opnfv/
        cp gitinfo_ovsnfv-dpdk-plugin.txt $(BUILD_BASE)
 
 .ovsnfvbuild:
-       @rm -rf fuel-plugin-ovsnfv
-       sudo apt-get -y install build-essential ruby-dev rubygems-integration python-pip git rpm createrepo dpkg-dev
-       sudo pip install fuel-plugin-builder
+       @rm -rf ovsnfv
        git clone $(OVSNFV_DPDK_REPO) ovsnfv
        cd ovsnfv; \
        git checkout $(OVSNFV_DPDK_BRANCH); \
@@ -47,7 +45,7 @@ release:.ovsnfvbuild
        INCLUDE_DEPENDENCIES=true fpb --debug --build $(OVSNFV_DPDK_DIR)
        @mv ovsnfv/$(OVSNFV_DPDK_DIR)/fuel-plugin-ovsnfv*.rpm .
        $(REPOINFO) -r . > gitinfo_ovsnfv-dpdk-plugin.txt
-       @rm -rf fuel-plugin-ovsnfv
+       @rm -rf ovsnfv
        @touch .ovsnfvbuild
        # Store artifact in cache straight away if caching is enabled
        # (no .cacheid will be present unless this is a cached build)