.PHONY: clean doc perms tests

all: tests clean perms 

perms:
	chmod -R go+r *

tests:
	cd tests ; make
	
doc:
	happydoc -d doc/api *.py

clean:
	find . -name '*~' | xargs rm -f
	find . -name '*pyc' | xargs rm -f
	find . -name '.log' | xargs rm -f
	rm -rf doc/api
