mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-20 20:18:41 +00:00
* targets.mk: change the "local.mk" template so that "oldorg" will be the default target for maximum compatibility. Admonish info message with a reminder to use "make help" for more information on targets and that "oldorg" is the default target for now. Add new convenience target "uncompiled" that will keep the lisp directory free from *.elc files and the autoload files up-to-date. * Makefile: make "targets" and "helpall" depend on "help" so that only "help::" or "helpall::" needs to be written for adding more help messages. Useful when users want to add their own messages to "make help" et al.
90 lines
3.1 KiB
Makefile
90 lines
3.1 KiB
Makefile
# Makefile - for the org-mode distribution
|
|
#
|
|
# This file is not part of GNU Emacs
|
|
|
|
# set up environment
|
|
include default.mk # defaults, customizable via "local.mk"
|
|
-include local.mk # optional local customization, use default.mk as template
|
|
|
|
# default target is "all" unless overridden in local.mk
|
|
all::
|
|
|
|
# Describe valid make targets for org-mode.
|
|
.PHONY: targets help helpall
|
|
targets: help
|
|
helpall:: help
|
|
help::
|
|
$(info )
|
|
$(info Getting Help)
|
|
$(info ============)
|
|
$(info )
|
|
$(info make help - show brief help)
|
|
$(info make targets - dito)
|
|
$(info make helpall - show extended help)
|
|
$(info )
|
|
$(info Build and Check)
|
|
$(info ===============)
|
|
$(info make - build Org ELisp and all documentation)
|
|
$(info make all - dito)
|
|
$(info make compile - build Org ELisp files)
|
|
$(info make autoloads - create org-install.el to load org in-place)
|
|
$(info make check - build Org ELisp files and run test suite)
|
|
helpall::
|
|
$(info make test - dito)
|
|
$(info make compile-dirty - build only stale Org ELisp files)
|
|
$(info make test-dirty - check without building first)
|
|
$(info )
|
|
$(info Compatibility)
|
|
$(info =============)
|
|
$(info make oldorg - what the old make did: compile autoloads info)
|
|
$(info )
|
|
$(info Convenience)
|
|
$(info ===========)
|
|
$(info make up0 - pull from upstream)
|
|
$(info make up1 - pull from upstream, build and check)
|
|
$(info make up2 - pull from upstream, build, check and install)
|
|
$(info make update - pull from upstream and build)
|
|
$(info make update2 - pull from upstream, build and install)
|
|
$(info make local.mk - create new local.mk as template for adaptation)
|
|
$(info )
|
|
$(info Cleaning)
|
|
$(info ========)
|
|
$(info make clean - remove built Org ELisp files and documentation)
|
|
$(info make cleanall - remove everything that can be built and all remnants)
|
|
$(info make cleandirs - clean in etc/, lisp/ and doc/)
|
|
$(info make cleancontrib - remove remnants in contrib/)
|
|
$(info make cleandoc - remove built documentation)
|
|
$(info make cleandocs - dito)
|
|
$(info make cleanlisp - remove built Org ELisp files)
|
|
$(info make cleanelc - dito)
|
|
$(info make cleanrel - remove release remnants)
|
|
$(info make cleantest - remove check remnants)
|
|
$(info make clean-install - remove previous Org installation)
|
|
$(info )
|
|
$(info Documentation)
|
|
$(info =============)
|
|
help::
|
|
$(info make doc - build all documentation)
|
|
helpall::
|
|
$(info make docs - dito)
|
|
help::
|
|
$(info make info - build Info documentation)
|
|
helpall::
|
|
$(info make html - build HTML documentation)
|
|
$(info make pdf - build PDF documentation)
|
|
$(info make card - build reference cards)
|
|
$(info make refcard - dito)
|
|
help::
|
|
$(info )
|
|
$(info Installation)
|
|
$(info ============)
|
|
$(info make install - build and install Org)
|
|
helpall::
|
|
$(info make install-etc - build and install files in /etc)
|
|
$(info make install-lisp - build and install Org Elisp files)
|
|
$(info make install-info - build and install Info documentation)
|
|
help::
|
|
@echo ""
|
|
|
|
include targets.mk # toplevel make machinery
|