debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | # Uncomment this to turn on verbose mode. |
| 5 | #export DH_VERBOSE=1 |
| 6 | |
| 7 | %: |
| 8 | dh $@ |
| 9 | |
| 10 | #override_dh_auto_build: |
| 11 | |
| 12 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES))) |
| 13 | override_dh_auto_test: |
| 14 | nodejs -e "require('.')" |
| 15 | endif |
| 16 | |
| 17 | override_dh_fixperms: |
| 18 | dh_fixperms |
| 19 | chmod -x debian/node-sntp/usr/share/nodejs/@hapi/sntp/package.json |