File: rules

package info (click to toggle)
node-node-pty 1.0.0%2Bds1%2B~6.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,892 kB
  • sloc: cpp: 13,049; javascript: 282; python: 266; sh: 246; makefile: 125
file content (24 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
22
23
24
#!/usr/bin/make -f
# -*- makefile -*-

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	tsc -b ./src/tsconfig.json
	node-gyp rebuild
	node scripts/post-install.js

override_dh_install:
	dh_install
	find debian/node-node-pty/usr/lib/ -name '*.txt' -delete -o -name '*.md' -delete -o -name LICENSE -delete
	find debian -name fastlist.exe -delete

override_dh_installdocs:
	dh_installdocs
	dh_nodejs_autodocs