#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PYTHON_SITEARCH := $(shell python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)') override_dh_clean: dh_clean find $(CURDIR) -name .dirstamp -size 0 -exec rm {} \; override_dh_auto_configure: $(CURDIR)/autogen.sh dh_auto_configure -- --enable-leveldb=yes --enable-snappy \ --enable-zlib --enable-lz4 --enable-zstd \ --enable-java --enable-python \ --with-python-prefix=$(CURDIR)/debian/tmp/$(PYTHON_SITEARCH)/ %: dh $@ --with python2,javahelper .PHONY: override_dh_clean override_dh_auto_configure