From: garciadeblas Date: Mon, 24 Apr 2017 08:58:56 +0000 (+0200) Subject: Changes in Makefile to copy deb packages to .build X-Git-Tag: v2.0.0~9 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F50%2F1650%2F1;p=osm%2Fopenvim.git Changes in Makefile to copy deb packages to .build Change-Id: Idcf584cbe81364d18910cd6761859174da27e99e Signed-off-by: garciadeblas --- diff --git a/Makefile b/Makefile index 8a16ee1..71540c8 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ clean: find osm_openvim -name '*.pyo' -delete prepare_lite: - pip install --upgrade setuptools + #pip install --upgrade setuptools mkdir -p build VER1=$(shell git describe | sed -e 's/^v//' |cut -d- -f1); \ VER2=$(shell git describe | cut -d- -f2); \ @@ -38,7 +38,7 @@ prepare_lite: sed -i "s/import osm_openvim; print osm_openvim\.__path__\[0\]/import lib_osm_openvim; print lib_osm_openvim\.__path__\[0\]/g" build/lib_osm_openvim/database_utils/migrate_vim_db.sh prepare: - pip install --upgrade setuptools + #pip install --upgrade setuptools mkdir -p build VER1=$(shell git describe | sed -e 's/^v//' |cut -d- -f1); \ VER2=$(shell git describe | cut -d- -f2); \ @@ -76,14 +76,14 @@ package_openvim: clean prepare cd build && cp osm_openvim/scripts/python-osm-openvim.postinst deb_dist/osm-openvim*/debian/ cd build/deb_dist/osm-openvim* && dpkg-buildpackage -rfakeroot -uc -us mkdir -p .build - cp build/deb_dist/python-*.deb ./build/ + cp build/deb_dist/python-*.deb .build/ package_lib: clean prepare_lite #apt-get install -y python-stdeb cd build && python setup.py --command-packages=stdeb.command sdist_dsc --with-python2=True cd build/deb_dist/lib-osm-openvim* && dpkg-buildpackage -rfakeroot -uc -us mkdir -p .build - cp build/deb_dist/python-*.deb ./build/ + cp build/deb_dist/python-*.deb .build/ package: clean_deb package_openvim package_lib