File: rules

package info (click to toggle)
node-chai 4.2.0%2Bds%2B~4.2.14-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,856 kB
  • sloc: javascript: 12,550; makefile: 66; sh: 34
file content (23 lines) | stat: -rwxr-xr-x 540 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

WEBPACK=NODE_PATH='/usr/share/nodejs:/usr/lib/nodejs' webpack --verbose
CHAI_SRC=$(shell find lib -name "*.js" -type f | LC_ALL=C sort)

%:
	dh $@

chai.js: index.js $(CHAI_SRC)
	$(WEBPACK)  --config debian/webpack.config.js

override_dh_auto_build: chai.js

override_dh_auto_install:
	dh_auto_install --buildsystem=nodejs
	rm -rf debian/tmp/usr/share/nodejs/chai/dist

override_dh_installchangelogs:
	dh_installchangelogs -k History.md