#!/usr/bin/make -f

# See debhelper(7) (uncomment to enable)

# Output every command that modifies files on the build system.
export DH_VERBOSE = 1

%:
	dh $@

override_dh_auto_build:
	python3 -m venv .venv --system-site-packages
	bash -c 'source .venv/bin/activate'
	.venv/bin/pip install --no-deps debian/pypi/rnginline-1.0.0-py3-none-any.whl
	./build.sh

override_dh_auto_clean:
	rm -rf .venv dist/ build/

override_dh_auto_install:
	dh_install

override_dh_install:
	dh_installxmlcatalogs