rules 648 B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/make -f
  2. libname = gulp-help
  3. node-pkgname = node-$(libname)
  4. node-destdir ?= /usr/lib/nodejs
  5. js-destdir ?= $(node-destdir)/$(libname)
  6. deb-js-destdir ?= debian/$(node-pkgname)$(js-destdir)
  7. node-destexample ?= usr/share/doc/$(node-pkgname)/examples
  8. deb-node-destexample ?= debian/$(node-pkgname)/$(node-destexample)
  9. override_dh_auto_build:
  10. mkdir -p $(deb-js-destdir)
  11. mkdir -p $(deb-node-destexample)
  12. cp -r license package.json readme.md index.js $(deb-js-destdir)
  13. cp -r lib $(deb-js-destdir)
  14. cp -r examples/* $(deb-node-destexample)
  15. override_dh_auto_test:
  16. mocha test.js
  17. %:
  18. dh $@
  19. # override_dh_testroot:
  20. override_dh_prep: