From d8cce8e23477e34fcb8f36996474a7bf4ac3c62e Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Tue, 12 Jun 2018 19:41:22 +0200 Subject: [PATCH] bundled chm: install as normal python package instead of copying the egg to the recoll lib dir --- src/Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index b024bec2..db957087 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -551,16 +551,16 @@ endif rclpychm: (cd python/pychm || exit 1; \ set -x; \ - for v in 2 3;do rm -f dist/pychm-*; \ - test -n "`which python$${v}`" && python$${v} setup.py bdist_egg && \ - mv -f dist/pychm-*.egg dist/pychm$${v}.egg;\ + for v in 2 3;do \ + test -n "`which python$${v}`" && python$${v} setup.py build;\ done \ ) rclpychm-install: (cd python/pychm || exit 1; \ set -x; \ - mkdir -p ${librcldir}; \ - mv dist/pychm*.egg ${librcldir};\ + for v in 2 3;do rm -f dist/pychm-*; \ + test -n "`which python$${v}`" && python$${v} setup.py install;\ + done \ ) rclpychm-clean: rm -rf python/pychm/build