2008-01-31 10:32:35 +00:00
|
|
|
# Makefile - for the org-mode distribution
|
2012-05-24 18:40:04 +00:00
|
|
|
# GNU make is required
|
2008-01-31 10:32:35 +00:00
|
|
|
#
|
2012-01-02 19:07:04 +00:00
|
|
|
# This file is not part of GNU Emacs
|
|
|
|
|
2012-04-21 15:25:35 +00:00
|
|
|
# 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
|
2012-01-02 20:54:55 +00:00
|
|
|
all::
|
2008-01-31 10:32:35 +00:00
|
|
|
|
2011-07-05 09:27:13 +00:00
|
|
|
# Describe valid make targets for org-mode.
|
2012-04-25 17:04:29 +00:00
|
|
|
.PHONY: targets help helpall
|
|
|
|
targets: help
|
2012-05-10 18:29:13 +00:00
|
|
|
help helpall::
|
2011-07-17 12:49:43 +00:00
|
|
|
$(info )
|
2012-04-23 19:20:58 +00:00
|
|
|
$(info Getting Help)
|
2011-11-13 10:53:12 +00:00
|
|
|
$(info ============)
|
2011-07-17 12:49:43 +00:00
|
|
|
$(info )
|
2012-04-23 19:20:58 +00:00
|
|
|
$(info make help - show brief help)
|
2012-04-27 19:04:57 +00:00
|
|
|
$(info make targets - ditto)
|
2012-04-23 19:20:58 +00:00
|
|
|
$(info make helpall - show extended help)
|
|
|
|
$(info )
|
|
|
|
$(info Build and Check)
|
|
|
|
$(info ===============)
|
|
|
|
$(info make - build Org ELisp and all documentation)
|
2012-04-27 19:04:57 +00:00
|
|
|
$(info make all - ditto)
|
2012-04-23 19:20:58 +00:00
|
|
|
$(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::
|
2012-04-27 19:04:57 +00:00
|
|
|
$(info make test - ditto)
|
2012-04-23 19:20:58 +00:00
|
|
|
$(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)
|
2011-11-13 10:53:12 +00:00
|
|
|
$(info ===========)
|
2012-04-23 19:20:58 +00:00
|
|
|
$(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)
|
2012-05-24 18:40:04 +00:00
|
|
|
$(info make uncompiled - combine cleanlisp and autoloads)
|
2012-04-23 19:20:58 +00:00
|
|
|
$(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)
|
2012-04-27 19:04:57 +00:00
|
|
|
$(info make cleandocs - ditto)
|
2012-04-23 19:20:58 +00:00
|
|
|
$(info make cleanlisp - remove built Org ELisp files)
|
2012-04-27 19:04:57 +00:00
|
|
|
$(info make cleanelc - ditto)
|
2012-04-23 19:20:58 +00:00
|
|
|
$(info make cleantest - remove check remnants)
|
|
|
|
$(info make clean-install - remove previous Org installation)
|
|
|
|
$(info )
|
|
|
|
$(info Documentation)
|
|
|
|
$(info =============)
|
2012-05-10 18:29:13 +00:00
|
|
|
help helpall::
|
2012-04-23 19:20:58 +00:00
|
|
|
$(info make doc - build all documentation)
|
|
|
|
helpall::
|
2012-04-27 19:04:57 +00:00
|
|
|
$(info make docs - ditto)
|
2012-05-10 18:29:13 +00:00
|
|
|
help helpall::
|
2012-04-23 19:20:58 +00:00
|
|
|
$(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)
|
2012-04-27 19:04:57 +00:00
|
|
|
$(info make refcard - ditto)
|
2012-05-10 18:29:13 +00:00
|
|
|
help helpall::
|
2012-04-23 19:20:58 +00:00
|
|
|
$(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)
|
2012-05-10 18:29:13 +00:00
|
|
|
help helpall::
|
2011-07-05 09:27:13 +00:00
|
|
|
@echo ""
|
2011-07-12 17:45:59 +00:00
|
|
|
|
2012-01-02 19:07:04 +00:00
|
|
|
include targets.mk # toplevel make machinery
|