Makefile 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. # Makefile - for the org-mode distribution
  2. # GNU make is required
  3. #
  4. # This file is not part of GNU Emacs
  5. # set up environment
  6. include mk/default.mk # defaults, customizable via "local.mk"
  7. -include local.mk # optional local customization, use default.mk as template
  8. # default target is "all" unless overridden in local.mk
  9. all::
  10. # Describe valid make targets for org-mode.
  11. .PHONY: targets help helpall
  12. targets: help
  13. help helpall::
  14. $(info )
  15. $(info Getting Help)
  16. $(info ============)
  17. $(info )
  18. $(info make help - show brief help)
  19. $(info make targets - ditto)
  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 - ditto)
  26. $(info make compile - build Org ELisp files)
  27. $(info make single - build Org ELisp files, single Emacs per source)
  28. $(info make autoloads - create org-loaddefs.el to load Org in-place)
  29. $(info make test - build Org ELisp files and run test suite)
  30. helpall::
  31. $(info make test-dirty - check without building first)
  32. $(info make compile-dirty - build only stale Org ELisp files)
  33. $(info )
  34. $(info Compatibility)
  35. $(info =============)
  36. $(info make oldorg - what the old make did: compile autoloads info)
  37. $(info )
  38. $(info Cleaning)
  39. $(info ========)
  40. $(info make clean - remove built Org ELisp files and documentation)
  41. $(info make cleanall - remove everything that can be built and all remnants)
  42. $(info make clean-install - remove previous Org installation)
  43. $(info )
  44. $(info Configuration Check)
  45. $(info ===================)
  46. help helpall::
  47. $(info make config - check main configuration)
  48. helpall::
  49. $(info make config-version - check Org version)
  50. $(info make config-test - check test configuration)
  51. $(info make config-exe - check executables configuration)
  52. $(info make config-cmd - check command configuration)
  53. $(info make config-all - check all configuration)
  54. $(info )
  55. $(info Documentation)
  56. $(info =============)
  57. help helpall::
  58. $(info make doc - build all documentation)
  59. helpall::
  60. $(info make docs - ditto)
  61. help helpall::
  62. $(info make info - build Info documentation)
  63. helpall::
  64. $(info make html - build HTML documentation)
  65. $(info make pdf - build PDF documentation)
  66. $(info make card - build reference cards)
  67. $(info make refcard - ditto)
  68. help helpall::
  69. $(info )
  70. $(info Installation)
  71. $(info ============)
  72. $(info make install - build and install Org)
  73. helpall::
  74. $(info make install-etc - build and install files in /etc)
  75. $(info make install-lisp - build and install Org Elisp files)
  76. $(info make install-info - build and install Info documentation)
  77. $(info )
  78. $(info Convenience)
  79. $(info ===========)
  80. $(info make up0 - pull from upstream)
  81. $(info make up1 - pull from upstream, build and check)
  82. $(info make up2 - pull from upstream, build, check and install)
  83. $(info make update - pull from upstream and build)
  84. $(info make update2 - pull from upstream, build and install)
  85. $(info make uncompiled - combine cleanlisp and autoloads)
  86. $(info make local.mk - create new local.mk as template for adaptation)
  87. help helpall::
  88. $(info )
  89. $(info Full documentation on Worg)
  90. $(info ==========================)
  91. $(info http://orgmode.org/worg/dev/org-build-system.html)
  92. @echo ""
  93. include mk/targets.mk # toplevel make machinery