#!/usr/bin/make -f
%:
	dh $@ --with python2

override_dh_auto_configure:
	./configure --enable-devel --prefix=/usr

override_dh_auto_test:
	# do not test

override_dh_auto_build:
	make python2

override_dh_auto_install:
	mkdir -p $(CURDIR)/debian/tmp
	make install-python install-vapi DESTDIR=$(CURDIR)/debian/tmp

override_dh_python2:
	dh_python2 -ppython-radare2 --no-guessing-versions --no-guessing-deps --namespace=r2
