File: rules

package info (click to toggle)
node-mocha 8.2.1%2Bds1%2B~cs29.4.27-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 7,496 kB
  • sloc: javascript: 34,398; makefile: 14
file content (24 lines) | stat: -rwxr-xr-x 678 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
24
#!/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
	mkdir -p images
	cp /usr/share/icons/oxygen/base/22x22/actions/dialog-ok-apply.png images/ok.png
	cp /usr/share/icons/oxygen/base/22x22/actions/dialog-cancel.png images/error.png
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
	help2man -n 'simple, flexible, fun test framework' --no-info ./bin/mocha > mocha.1
endif

override_dh_auto_test:
	# No test during build to avoid circular dependencies

override_dh_fixperms:
	dh_fixperms
	chmod +x debian/mocha/usr/share/nodejs/flat/cli.js