User Tools

Site Tools


fuel_opnfv_integrated-project-guidelines_makefile

This is an old revision of the document!


TOP := $(shell pwd)
DOCKNAME = fuelrepo
DOCKVERSION = 1.0
ODL_BRANCH="juno/lithium-sr1"
ODL_REPO="https://github.com/stackforge/fuel-plugin-opendaylight.git"

.PHONY: all
all: .odlbuild

.PHONY: clean
clean:
	# Deliberately not cleaning nailgun directory to speed up multiple build
s
	@rm -f ../release/opnfv/opendaylight*.rpm

.PHONY: release
release:.odlbuild
	@rm -f ../release/opnfv/opendaylight*.rpm
	@mkdir -p ../release/opnfv
	@cp  opendaylight*.rpm ../release/opnfv/

.odlbuild:
	rm -rf fuel-plugin-opendaylight
	sudo apt-get -y install build-essential ruby-dev rubygems-integration py
thon-pip git rpm createrepo dpkg-dev
	sudo gem install fpm
	sudo pip install fuel-plugin-builder
	git clone -b ${ODL_BRANCH} ${ODL_REPO}
	INCLUDE_DEPENDENCIES=true fpb --debug --build fuel-plugin-opendaylight/
	mv fuel-plugin-opendaylight/opendaylight*.rpm .
	rm -rf fuel-plugin-opendaylight
fuel_opnfv_integrated-project-guidelines_makefile.1443953074.txt.gz · Last modified: 2015/10/04 10:04 by Jonas Bjurel