File: rules

package info (click to toggle)
node-thenby 1.3.4%2Bgit20200720.0fd165a%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 344 kB
  • sloc: javascript: 451; makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 282 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8

include /usr/share/dpkg/default.mk

%:
	dh $@ --with nodejs

override_dh_auto_build:
	dh_auto_build
	sed -e 's/var firstBy = (/module.exports = (/' thenBy.js > thenBy.module.js
	uglifyjs.terser thenBy.js -o thenBy.min.js