| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | # Uncomment this to turn on verbose mode. |
| 5 | #export DH_VERBOSE=1 |
| 6 | export NODE_PATH=/usr/share/nodejs:/usr/lib/nodejs:. |
| 7 | export JS_DIR=example/enroll/js |
| 8 | |
| 9 | %: |
| 10 | dh $@ |
| 11 | |
| 12 | override_dh_auto_build: |
| 13 | dh_auto_build |
| 14 | ln -s . timers |
| 15 | browserify-lite ${JS_DIR}/main.js --outfile ${JS_DIR}/browserify.js |
| 16 | |
| 17 | override_dh_auto_clean: |
| 18 | dh_auto_clean |
| 19 | rm -f timers ${JS_DIR}/browserify.js |