|
a/src/Makefile.am |
|
b/src/Makefile.am |
|
... |
|
... |
536 |
# someone fixes it:
|
536 |
# someone fixes it:
|
537 |
# php/00README.txt php/recoll/config.m4 php/recoll/make.sh
|
537 |
# php/00README.txt php/recoll/config.m4 php/recoll/make.sh
|
538 |
# php/recoll/php_recoll.h php/recoll/recoll.cpp php/sample/shell.php
|
538 |
# php/recoll/php_recoll.h php/recoll/recoll.cpp php/sample/shell.php
|
539 |
|
539 |
|
540 |
if MAKEPYTHON
|
540 |
if MAKEPYTHON
|
541 |
all-local: recollpython
|
541 |
all-local: recollpython rclpychm
|
|
|
542 |
install-exec-local: recollpython-install rclpychm-install
|
|
|
543 |
clean-local: recollpython-clean
|
|
|
544 |
else
|
|
|
545 |
all-local: rclpychm
|
|
|
546 |
install-exec-local: rclpychm-install
|
|
|
547 |
clean-local: rclpychm-clean recollpython-clean
|
|
|
548 |
endif
|
|
|
549 |
|
|
|
550 |
rclpychm:
|
|
|
551 |
(cd python/pychm || exit 1; \
|
|
|
552 |
set -x; \
|
|
|
553 |
for v in 2 3;do rm -f dist/pychm-*; \
|
|
|
554 |
test -n "`which python$${v}`" && python$${v} setup.py bdist_egg && \
|
|
|
555 |
mv -f dist/pychm-*.egg dist/pychm$${v}.egg;\
|
|
|
556 |
done \
|
|
|
557 |
)
|
|
|
558 |
rclpychm-install:
|
|
|
559 |
(cd python/pychm || exit 1; \
|
|
|
560 |
set -x; \
|
|
|
561 |
mv dist/pychm*.egg ${librcldir};\
|
|
|
562 |
)
|
|
|
563 |
rclpychm-clean:
|
|
|
564 |
rm -rf python/pychm/build
|
|
|
565 |
rm -r python/pychm/dist/*
|
|
|
566 |
|
|
|
567 |
if MAKEPYTHON
|
542 |
recollpython: librecoll.la
|
568 |
recollpython: librecoll.la
|
543 |
(cd python/recoll; \
|
569 |
(cd python/recoll; \
|
544 |
set -x; \
|
570 |
set -x; \
|
545 |
for v in 2 3;do test -n "`which python$${v}`" && \
|
571 |
for v in 2 3;do test -n "`which python$${v}`" && \
|
546 |
libdir=$(libdir) python$${v} setup.py build; \
|
572 |
libdir=$(libdir) python$${v} setup.py build; \
|
547 |
done \
|
573 |
done \
|
548 |
)
|
574 |
)
|
549 |
install-exec-local: recollpython-install
|
|
|
550 |
recollpython-install:
|
575 |
recollpython-install:
|
551 |
(cd python/recoll; \
|
576 |
(cd python/recoll; \
|
552 |
if test -f /etc/debian_version ; then \
|
577 |
if test -f /etc/debian_version ; then \
|
553 |
OPTSFORPYTHON=--install-layout=deb; \
|
578 |
OPTSFORPYTHON=--install-layout=deb; \
|
554 |
fi; \
|
579 |
fi; \
|
|
... |
|
... |
556 |
for v in 2 3;do test -n "`which python$${v}`" && \
|
581 |
for v in 2 3;do test -n "`which python$${v}`" && \
|
557 |
python$${v} setup.py install \
|
582 |
python$${v} setup.py install \
|
558 |
--prefix=${prefix} --root=$${DESTDIR:-/} $${OPTSFORPYTHON}; \
|
583 |
--prefix=${prefix} --root=$${DESTDIR:-/} $${OPTSFORPYTHON}; \
|
559 |
done; \
|
584 |
done; \
|
560 |
)
|
585 |
)
|
561 |
clean-local: recollpython-clean
|
|
|
562 |
recollpython-clean:
|
586 |
recollpython-clean:
|
563 |
rm -rf python/recoll/build
|
587 |
rm -rf python/recoll/build
|
564 |
rm -rf python/recoll/__pycache__
|
588 |
rm -rf python/recoll/__pycache__
|
565 |
rm -f python/recoll/*.pyc
|
589 |
rm -f python/recoll/*.pyc
|
566 |
endif
|
590 |
endif
|