X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=Makefile;h=33deb4e96b10c768cf4c6b5680defca488195961;hp=8330b74500dddd7eaa066699008d0597e114bcdb;hb=b23558cd09fb8595ab71ff11e9b1921335b96f37;hpb=cf92004692dbcab4b9c024a45be327f7bf019ea8 diff --git a/Makefile b/Makefile index 8330b745..33deb4e9 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,25 @@ +# Copyright 2018 Telefonica S.A. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. + .PHONY: all test clean SHELL := /bin/bash BRANCH ?= master -all: lib-openvim osm-im +all: # lib-openvim # osm-im $(MAKE) clean_build build $(MAKE) clean_build package @@ -37,12 +52,13 @@ prepare: cp -r instance-scenarios build/osm_ro cp -r scripts build/osm_ro cp -r database_utils build/osm_ro + cp LICENSE build/osm_ro connectors: prepare # python-novaclient is required for that rm -f build/osm_ro/openmanolinkervimconn.py cd build/osm_ro; for i in `ls vimconn_*.py |sed "s/\.py//"` ; do echo "import $$i" >> openmanolinkervimconn.py; done - python build/osm_ro/openmanolinkervimconn.py + python build/osm_ro/openmanolinkervimconn.py 2>&1 rm -f build/osm_ro/openmanolinkervimconn.py build: connectors prepare @@ -73,7 +89,7 @@ package: prepare snap: echo "Nothing to be done yet" -install: +install: lib-openvim osm-im dpkg -i IM/deb_dist/python-osm-im*.deb dpkg -i openvim/.build/python-lib-osm-openvim*.deb dpkg -i .build/python-osm-ro*.deb