File: rules

package info (click to toggle)
psl.js 1.8.0%2Bds-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 544 kB
  • sloc: javascript: 524; makefile: 10; sh: 7
file content (17 lines) | stat: -rwxr-xr-x 350 bytes parent folder | download | duplicates (2)
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:
	mkdir dist
	cp index.js dist/index.js
	patch -p1 <debian/es5-hook.diff
	NODE_PATH=debian/node_modules rollup -c debian/rollup.config.js
	rm -f dist/index.js
	terser -o dist/psl.min.js dist/psl.js
	dh_auto_build