#!/usr/bin/make -f #-*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export PYBUILD_NAME=xlib %: dh $@ --buildsystem=pybuild ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES))) execute_after_dh_auto_build: make -C doc html # for some reason makeinfo doesn’t create toc on the first run make -C doc html execute_after_dh_auto_clean: make -C doc clean execute_after_dh_installdocs: rm -f debian/*/usr/share/doc/*/*/Makefile endif override_dh_compress: dh_compress -X.py override_dh_auto_test: ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS))) xvfb-run dh_auto_test endif