#!/usr/bin/make -f # See debhelper(7) (uncomment to enable). # Output every command that modifies files on the build system. #export DH_VERBOSE = 1 include /usr/share/dpkg/architecture.mk export DEB_BUILD_MAINT_OPTIONS := hardening=+all reproducible=+all %: dh $@ --without single-binary execute_after_dh_auto_build: cd tutorial && \ TEXINPUTS=../debian: pdflatex -jobname tutorial tut && \ bibtex tutorial && \ TEXINPUTS=../debian: pdflatex -jobname tutorial tut && \ TEXINPUTS=../debian: pdflatex -jobname tutorial tut sphinx-build -b html docs/docs/source docs/docs/html override_dh_auto_install: dh_auto_install --destdir debian/tmp override_dh_gencontrol: dh_gencontrol -- -Vsioyek:Built-Using="$$(dpkg-query --showformat='$${source:Package} (= $${source:Version}), ' --show libmupdf-dev:$(DEB_HOST_ARCH))"