Makefile.deps 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # -*- mode: makefile -*-
  2. #
  3. # Copyright (c) 2012, Joyent, Inc. All rights reserved.
  4. #
  5. # Makefile.deps: Makefile for including common tools as dependencies
  6. #
  7. # NOTE: This makefile comes from the "eng" repo. It's designed to be dropped
  8. # into other repos as-is without requiring any modifications. If you find
  9. # yourself changing this file, you should instead update the original copy in
  10. # eng.git and then update your repo to use the new version.
  11. #
  12. # This file is separate from Makefile.targ so that teams can choose
  13. # independently whether to use the common targets in Makefile.targ and the
  14. # common tools here.
  15. #
  16. #
  17. # javascriptlint
  18. #
  19. JSL_EXEC ?= deps/javascriptlint/build/install/jsl
  20. JSL ?= python2.6 $(JSL_EXEC)
  21. $(JSL_EXEC): | deps/javascriptlint/.git
  22. cd deps/javascriptlint && make install
  23. #
  24. # jsstyle
  25. #
  26. JSSTYLE_EXEC ?= deps/jsstyle/jsstyle
  27. JSSTYLE ?= $(JSSTYLE_EXEC)
  28. $(JSSTYLE_EXEC): | deps/jsstyle/.git
  29. #
  30. # restdown
  31. #
  32. RESTDOWN_EXEC ?= deps/restdown/bin/restdown
  33. RESTDOWN ?= python2.6 $(RESTDOWN_EXEC)
  34. $(RESTDOWN_EXEC): | deps/restdown/.git