Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. go: performance-graph.pdf
  2. evince performance-graph.pdf
  3. performance-graph.pdf: performance-numbers.db gen-performance-graph
  4. ./gen-performance-graph
  5. .PRECIOUS: performance-numbers.db
  6. performance-numbers.db: test-bloom-filter
  7. ./this-pylint \
  8. --ignore-message ".*Unable to import 'dbm'" \
  9. --ignore-message ".*Unable to import 'anydbm'" \
  10. --to-pylint bloom_filter_mod.py test-bloom-filter
  11. rm -f seek.txt array.txt hybrid.txt mmap.txt
  12. #/usr/local/pypy-2.2/bin/pypy ./test-bloom-filter --performance-test
  13. /usr/local/pypy-2.2/bin/pypy ./test-bloom-filter
  14. /usr/local/cpython-3.3/bin/python ./test-bloom-filter
  15. /usr/local/cpython-2.5/bin/python ./test-bloom-filter
  16. #/usr/local/cpython-2.7/bin/python ./test-bloom-filter
  17. #/usr/local/cpython-3.0/bin/python ./test-bloom-filter
  18. /usr/local/jython-2.5.3/bin/jython ./test-bloom-filter
  19. /usr/local/jython-2.7b1/bin/jython ./test-bloom-filter
  20. clean:
  21. rm -f *.pyc *.class
  22. rm -rf __pycache__
  23. rm -f bloom-filter-rm-me
  24. rm -f *.ps *.pdf
  25. rm -f seek.txt array.txt
  26. rm -rf dist build drs_bloom_filter.egg-info
  27. veryclean: clean
  28. rm -f performance-numbers.db
  29. rm -f performance-numbers
  30. register:
  31. # Once
  32. python setup.py register
  33. publish:
  34. # Each new version
  35. python setup.py sdist upload