.PHONY: default install wheel test clean clean_wheel uninstall

default:
	echo "Please specify a build target"

install: wheel
	sudo python -m installer dist/*

wheel:
	python -m build --wheel --no-isolation

test:
	python run_tests.py

clean: clean_wheel

clean_wheel:
	rm -rf build
	rm -rf dist
	rm -rf dochint.egg-info

uninstall:
	yes | sudo pip uninstall dochint --break-system-packages
