rules 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #!/usr/bin/make -f
  2. # -*- makefile -*-
  3. # Uncomment this to turn on verbose mode.
  4. #export DH_VERBOSE=1
  5. #MODULE_PATH=/usr/lib/nodejs/fibers/build/Release/obj.target/fibers.node
  6. #BIN_PATH=/usr/lib/nodejs/fibers/bin
  7. %:
  8. dh $@ --with nodejs
  9. #override_dh_install:
  10. # dh_install
  11. # dh_buildinfo
  12. # chmod 644 $(CURDIR)/debian/node-fibers$(MODULE_PATH)
  13. # chmod -R 644 $(CURDIR)/debian/node-fibers$(BIN_PATH)/linux*/*
  14. #override_dh_link:
  15. # dh_link `gdal-config --datadir` usr/lib/nodejs/fibers/fibers_data
  16. #override_dh_auto_configure:
  17. # node-gyp configure -module_name=fibers
  18. # -module_path=src/binding/
  19. # -shared_gdal=1
  20. #override_dh_auto_build:
  21. # node-gyp build
  22. # node build.js
  23. # make all
  24. #override_dh_auto_test:
  25. # ln -s $(CURDIR)/build/lib/binding $(CURDIR)/lib/
  26. # disable a test that needs gdal 1.11 to succeed
  27. # rm $(CURDIR)/lib/binding
  28. # exit ${testOk}
  29. #override_dh_shlibdeps:
  30. # dpkg-shlibdeps \
  31. # -T$(CURDIR)/debian/node-fibers.substvars \
  32. # $(CURDIR)/debian/node-fibers$(MODULE_PATH)
  33. #override_dh_strip:
  34. # strip \
  35. # --remove-section=.comment \
  36. # --remove-section=.note \
  37. # --strip-unneeded \
  38. # $(CURDIR)/debian/node-fibers$(MODULE_PATH)
  39. #