File: rules

package info (click to toggle)
node-y-websocket 1.4.5-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 388 kB
  • sloc: javascript: 649; makefile: 10
file content (18 lines) | stat: -rwxr-xr-x 367 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@ --with nodejs --buildsystem=nodejs

override_dh_auto_build:
	rollup -c
	tsc
	test -e dist/src/y-websocket.d.ts
	test -e dist/y-websocket.cjs

override_dh_fixperms:
	dh_fixperms
	chmod +x debian/node-y-websocket/usr/share/nodejs/y-websocket/bin/server.js