all:
	python setup.py build
install:
	python setup.py install
dists:
	./setup.py sdist --formats=gztar,zip
	./setup.py bdist_wininst  # doesn't work on Linux
	# disabled: ./setup.py bdist_rpm
	# that's disabled because, on my machine, it builds an RPM,
	# including .pyc's, that installs stuff in 
	# /usr/local/lib/python2.1, which is totally stupid on 
	# several counts: /usr/local, 2.1, and .pyc.
distclean:
	-find \( -name '*.pyc' -o -name '*~' \) -print | xargs rm
	rm -rf build
.PHONY: all install dists distclean
