File: rules

package info (click to toggle)
node-jsdom 20.0.3%2B~cs124.18.21-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 31,192 kB
  • sloc: javascript: 103,033; xml: 32,816; python: 26; makefile: 12; sh: 11
file content (19 lines) | stat: -rwxr-xr-x 592 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@

override_dh_auto_build:
	cd debian/build_modules/webidl2 && babeljs-7 -d dist --presets @babel/preset-env --plugins @babel/plugin-transform-runtime lib/
	dh_auto_build --buildsystem=nodejs
	cp debian/whatwg-encoding/* whatwg-encoding/lib/
	cp debian/tr46/* tr46/lib/
	node ./scripts/webidl/convert.js
	node ./scripts/generate-js-globals.js
	cp debian/missing/* lib/jsdom/living/generated/
	ln -s lib/jsdom/living/generated .
	ln -s ../scripts/eslint-plugin node_modules || true