From 6ea0132483b48f7fa488c2a961fb3c7e7ad4ee8c Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Mon, 24 Apr 2017 10:58:56 +0200 Subject: [PATCH] Changes in Makefile to copy deb packages to .build Change-Id: Idcf584cbe81364d18910cd6761859174da27e99e Signed-off-by: garciadeblas --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.25.1