1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/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
|