File: rules

package info (click to toggle)
node-monaco-languageclient 20230504.93ecd19-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 704 kB
  • sloc: javascript: 46; makefile: 14; sh: 3
file content (24 lines) | stat: -rwxr-xr-x 577 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
22
23
24
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@

override_dh_auto_build:
	cd packages/vscode-ws-jsonrpc && tsc -b tsconfig.src.json

override_dh_installdocs:
	dh_installdocs
	dh_nodejs_autodocs auto_dispatch

override_dh_gencontrol:
	set -e; for p in `pkgjs-utils root_components_list;cat debian/nodejs/main`; do \
		VERSION=`pkgjs-pjson $$p version | sed -e 's/-/~/g'`; \
		NAME=node-`pkgjs-pjson $$p name`; \
		dh_gencontrol -p$$NAME -- -v$$VERSION~$(DEB_VERSION); \
	done