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 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 8 | |
| 9 | %: |
| 10 | dh $@ |
| 11 | |
| 12 | override_dh_auto_build: |
| 13 | $(foreach flag,CC CXX CFLAGS CXXFLAGS CPPFLAGS LDFLAGS,\ |
| 14 | $(flag)="$($(flag))") \ |
| 15 | node-gyp rebuild |