File: rules

package info (click to toggle)
fortran-language-server 3.2.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,268 kB
  • sloc: python: 9,688; f90: 1,195; fortran: 30; makefile: 28; ansic: 20
file content (21 lines) | stat: -rwxr-xr-x 506 bytes parent folder | download
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