X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=Makefile;h=33deb4e96b10c768cf4c6b5680defca488195961;hp=d31284519f71bc0692d42030e62b883bcda46f71;hb=5509c2e2bbe73642fb100048c205f22ac78384c1;hpb=8285539c4623081c05a932a324dff419550f6731 diff --git a/Makefile b/Makefile index d3128451..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 @@ -43,7 +58,7 @@ 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 @@ -74,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