#!/usr/bin/make -f include /usr/share/dpkg/default.mk export DH_VERBOSE = 1 %: dh $@ --with python3 --buildsystem=pybuild override_dh_auto_build: dh_auto_build help2man --no-info \ --name="Fortran Language Server for the Language Server Protocol" \ --version-string=$(DEB_VERSION_UPSTREAM) \ "python3 -m fortls" > debian/fortls.1 sed -i 's/python3 -m fortls/fortls/g' debian/fortls.1 sed -i 's/PYTHON3/FORTLS/g' debian/fortls.1 override_dh_auto_clean: rm -f debian/fortls.1 dh_auto_clean