Makefile 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. # Makefile - for the org-mode distribution
  2. #
  3. # This file is not part of GNU Emacs
  4. # set up environment
  5. include default.mk # defaults, customizable via "local.mk"
  6. -include local.mk # optional local customization, use default.mk as template
  7. # default target is "all" unless overridden in local.mk
  8. all::
  9. # Describe valid make targets for org-mode.
  10. .PHONY: targets help helpall
  11. targets: help
  12. helpall:: help
  13. help::
  14. $(info )
  15. $(info Getting Help)
  16. $(info ============)
  17. $(info )
  18. $(info make help - show brief help)
  19. $(info make targets - dito)
  20. $(info make helpall - show extended help)
  21. $(info )
  22. $(info Build and Check)
  23. $(info ===============)
  24. $(info make - build Org ELisp and all documentation)
  25. $(info make all - dito)
  26. $(info make compile - build Org ELisp files)
  27. $(info make autoloads - create org-install.el to load org in-place)
  28. $(info make check - build Org ELisp files and run test suite)
  29. helpall::
  30. $(info make test - dito)
  31. $(info make compile-dirty - build only stale Org ELisp files)
  32. $(info make test-dirty - check without building first)
  33. $(info )
  34. $(info Compatibility)
  35. $(info =============)
  36. $(info make oldorg - what the old make did: compile autoloads info)
  37. $(info )
  38. $(info Convenience)
  39. $(info ===========)
  40. $(info make up0 - pull from upstream)
  41. $(info make up1 - pull from upstream, build and check)
  42. $(info make up2 - pull from upstream, build, check and install)
  43. $(info make update - pull from upstream and build)
  44. $(info make update2 - pull from upstream, build and install)
  45. $(info make local.mk - create new local.mk as template for adaptation)
  46. $(info )
  47. $(info Cleaning)
  48. $(info ========)
  49. $(info make clean - remove built Org ELisp files and documentation)
  50. $(info make cleanall - remove everything that can be built and all remnants)
  51. $(info make cleandirs - clean in etc/, lisp/ and doc/)
  52. $(info make cleancontrib - remove remnants in contrib/)
  53. $(info make cleandoc - remove built documentation)
  54. $(info make cleandocs - dito)
  55. $(info make cleanlisp - remove built Org ELisp files)
  56. $(info make cleanelc - dito)
  57. $(info make cleanrel - remove release remnants)
  58. $(info make cleantest - remove check remnants)
  59. $(info make clean-install - remove previous Org installation)
  60. $(info )
  61. $(info Documentation)
  62. $(info =============)
  63. help::
  64. $(info make doc - build all documentation)
  65. helpall::
  66. $(info make docs - dito)
  67. help::
  68. $(info make info - build Info documentation)
  69. helpall::
  70. $(info make html - build HTML documentation)
  71. $(info make pdf - build PDF documentation)
  72. $(info make card - build reference cards)
  73. $(info make refcard - dito)
  74. help::
  75. $(info )
  76. $(info Installation)
  77. $(info ============)
  78. $(info make install - build and install Org)
  79. helpall::
  80. $(info make install-etc - build and install files in /etc)
  81. $(info make install-lisp - build and install Org Elisp files)
  82. $(info make install-info - build and install Info documentation)
  83. help::
  84. @echo ""
  85. include targets.mk # toplevel make machinery