/Makefile
Relevant Search: With Applications for Solr and Elasticsearch
For more in depth reading about search, ranking and generally everything you could ever want to know about how lucene, elasticsearch or solr work under the hood I highly suggest this book. Easily one of the most interesting technical books I have read in a long time. If you are tasked with solving search relevance problems even if not in Solr or Elasticsearch it should be your first reference. Amazon Affiliate LinkMakefile | 36 lines | 30 code | 6 blank | 0 comment | 0 complexity | c6c5c13646c69d35ce11ed1e8f5977fe MD5 | raw file
1.PHONY: help clean docs graph packages tests 2 3help: 4 @echo "Please use \`make <target>' where <target> is one of" 5 @echo " clean to cleanup build and temporary files" 6 @echo " docs to build the documentation" 7 @echo " graph to generate dependency graph" 8 @echo " packages to build python source and egg packages" 9 @echo " tests to run the test suite" 10 11clean: 12 @rm -rf build dist circuits.egg-info 13 @rm -rf .coverage coverage 14 @rm -rf docs/build 15 @find . -name '__pycache__' -exec rm -rf {} + 16 @find . -name '*.pyc' -delete 17 @find . -name '*.pyo' -delete 18 @find . -name '*~' -delete 19 @rm -f *.xml 20 21docs: 22 @make -C docs html 23 24graph: 25 @sfood circuits -i -I tests -d -u 2> /dev/null | sfood-graph | dot -Tps | ps2pdf - > circuits.pdf 26 27release: 28 @python2.6 setup.py clean bdist_egg upload 29 @python2.7 setup.py clean bdist_egg upload 30 @python3.2 setup.py clean bdist_egg upload 31 @python3.3 setup.py clean bdist_egg upload 32 @python setup.py clean build_sphinx upload_sphinx 33 @python setup.py clean sdist --formats=bztar,gztar,zip upload 34 35tests: 36 @python -m tests.main