X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=Makefile;h=32148706a21e11044f2cea0f09d36362102f04ba;hb=49f2e85904dcbde6e6fa49a90c28c231b5ba6296;hp=8a16ee1b6c4ecd9867d8d291ea4e304e4bd5afdc;hpb=0119d7dcea3532af048bfe212f2a21d625a6b29e;p=osm%2Fopenvim.git diff --git a/Makefile b/Makefile index 8a16ee1..3214870 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ clean: find osm_openvim -name '*.pyo' -delete prepare_lite: - pip install --upgrade setuptools + pip install --user --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 --user --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