File: rules

package info (click to toggle)
node-playwright 1.38.0%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 32,720 kB
  • sloc: javascript: 114,018; sh: 899; java: 372; xml: 247; cs: 118; python: 29; makefile: 13
file content (23 lines) | stat: -rwxr-xr-x 627 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
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@

override_dh_auto_build:
	ln -s ../packages/playwright node_modules/ || true
	node utils/build/build.js
	rm -f node_modules/playwright

execute_after_dh_fixperms:
	chmod +x `find debian/node-playwright/usr/share/nodejs -name cli.js`

execute_after_dh_installdocs:
	dh_nodejs_autodocs

execute_after_dh_installexamples:
	sed -i 's@https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png@@' \
	  debian/node-playwright/usr/share/doc/node-playwright/examples/mock-battery/demo-battery-api/index.html