.PHONY: go-t go-soksoo big tiny small medium big huge


huge: pylint
	find KGS -name '*.sgf' -print | ./soksoo.py

big: pylint
	find AEB -name '*.sgf' -print | ./soksoo.py

small: pylint
	find AEB/games/Agon/Agon14 -name '*.sgf' -print | ./soksoo.py

tiny: pylint
	ls sgf/*.sgf | ./soksoo.py && cat soksoo.sgf

pylint: soksoo.py
	./this-pylint --to-pylint soksoo.py
	# pep8 --max-line-len 132 soksoo.py
	ctags-exuberant soksoo.py

dist:
	bunzip2 -c soksoo.sgf.bz2 > soksoo.sgf
	tar cvzf /tmp/soksoo.tar.gz soksoo.py soksoo.sgf Makefile README \
		gpl.txt fdl.txt \
		sgf

clean:
	rm -f *.pyc tags
	rm -rf .ropeproject

veryclean: clean
	rm -f soksoo.sgf
	rm -rf KGS