Source

fsnix / Makefile

Full commit

build:
	python setup.py build


dist: clean
	$(MAKE) sdist


sdist:
	python setup.py sdist


local:
	python setup.py build_py -d . -c
	python setup.py build_ext -i


test: local
	PYTHONPATH=$$PYTHONPATH:. python tests/test_fslib.py
	PYTHONPATH=$$PYTHONPATH:. python tests/test_fswlib.py
	PYTHONPATH=$$PYTHONPATH:. python tests/test_util.py


doc: local
	sphinx-build doc/source  build/doc


docserve: doc
	cd build/doc && python -m SimpleHTTPServer 8888


clean:
	python setup.py clean -a
	$(RM) -r dist build
	$(RM) MANIFEST
	$(RM) fsnix/*.so  fsnix/*.pyc