#!/usr/bin/make -f
# -*- makefile -*-

%:
	dh $@ --with python3 -- --buildsystem=none

override_dh_auto_build:
	python3 setup.py build

override_dh_auto_install:
	python3 setup.py install \
	    --root $(CURDIR)/debian/tmp \
	    --install-layout deb
	rm -rf debian/tmp/usr/lib/python3/dist-packages/gfal2_util/__pycache__

override_dh_auto_clean:
	rm -rf build gfal2_util.egg-info
