File: rules

package info (click to toggle)
fortran-language-server 1.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,080 kB
  • sloc: python: 5,815; f90: 222; fortran: 26; makefile: 15
file content (21 lines) | stat: -rwxr-xr-x 544 bytes parent folder | download | duplicates (2)
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) \
		"$$(pybuild --print interpreter --interpreter python3) ./fortls.py" > debian/fortls.1
	sed -i s/fortls.py/fortls/g debian/fortls.1
	sed -i s/FORTLS.PY/FORTLS/g debian/fortls.1

override_dh_auto_clean:
	rm -f debian/fortls.1
	dh_auto_clean