File: rules

package info (click to toggle)
node-browserslist 4.25.0%2B~cs6.3.22-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,520 kB
  • sloc: javascript: 5,304; makefile: 9
file content (17 lines) | stat: -rwxr-xr-x 458 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@

override_dh_auto_build:
	dh_auto_build --buildsystem=nodejs
	help2man -N -n 'The config to share target browsers and Node.js versions' ./cli.js >browserslist.1

override_dh_fixperms:
	dh_fixperms
	chmod +x debian/node-browserslist/usr/share/nodejs/browserslist/cli.js \
		debian/node-browserslist/usr/share/nodejs/update-browserslist-db/cli.js