File: rules

package info (click to toggle)
node-timers-browserify 2.0.11%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 124 kB
  • sloc: makefile: 11; sh: 3
file content (21 lines) | stat: -rwxr-xr-x 426 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export NODE_PATH=/usr/share/nodejs:/usr/lib/nodejs:.
export JS_DIR=example/enroll/js

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	ln -s . timers
	browserify-lite ${JS_DIR}/main.js --outfile ${JS_DIR}/browserify.js

#override_dh_auto_test:

override_dh_auto_clean:
	dh_auto_clean
	rm -f timers ${JS_DIR}/browserify.js