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