SCRIPT=pyindex DEPS=base255.py cachedb.py readline0.py go: ctags-exuberant $(SCRIPT) $(DEPS) # A quick test find /usr/local/cpython-3.4 -name '*.py' -print0 | ./head0 -n 100 | ./pyindex -d foo -c -0 -v -v find /usr/local/cpython-3.3 -name '*.py' -print0 | ./head0 -n 100 | ./pyindex -d foo -u -0 -v -v ./pyindex -d foo -s python # A more thorough test - this one includes removing some items from the in-memory cache find /usr/local/cpython-3.4 -name '*.py' -print0 | ./pyindex -d foo -c -0 -v -v find /usr/local/cpython-3.3 -name '*.py' -print0 | ./pyindex -d foo -u -0 -v -v ./pyindex -d foo -s python install: ./install-file --file ${SCRIPT} --directory /usr/local/bin/. ./install-package --deb-packages 'python3-gdbm' for d in ${DEPS}; do ./install-file --directory /usr/local/lib/. --file $$d; done clean: rm -f *.pyc rm -rf __pycache__ rm -f foo.* rm -f tags