2008-01-31 05:32:35 -05:00
|
|
|
# Makefile - for the org-mode distribution
|
2012-05-24 14:40:04 -04:00
|
|
|
# GNU make is required
|
2008-01-31 05:32:35 -05:00
|
|
|
#
|
2012-01-02 14:07:04 -05:00
|
|
|
# This file is not part of GNU Emacs
|
|
|
|
|
2012-04-21 11:25:35 -04: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 15:54:55 -05:00
|
|
|
all::
|
2008-01-31 05:32:35 -05:00
|
|
|
|
2011-07-05 05:27:13 -04:00
|
|
|
# Describe valid make targets for org-mode.
|
2012-04-25 13:04:29 -04:00
|
|
|
.PHONY: targets help helpall
|
|
|
|
targets: help
|
2012-05-10 14:29:13 -04:00
|
|
|
help helpall::
|
2011-07-17 08:49:43 -04:00
|
|
|
$(info )
|
2012-04-23 15:20:58 -04:00
|
|
|
$(info Getting Help)
|
2011-11-13 05:53:12 -05:00
|
|
|
$(info ============)
|
2011-07-17 08:49:43 -04:00
|
|
|
$(info )
|
2012-08-04 09:50:39 -04:00
|
|
|
$(info make help - show brief help)
|
|
|
|
$(info make targets - ditto)
|
|
|
|
$(info make helpall - show extended help)
|
2012-04-23 15:20:58 -04:00
|
|
|
$(info )
|
|
|
|
$(info Build and Check)
|
|
|
|
$(info ===============)
|
2012-08-04 09:50:39 -04:00
|
|
|
$(info make - build Org ELisp and all documentation)
|
|
|
|
$(info make all - ditto)
|
|
|
|
$(info make compile - build Org ELisp files)
|
2012-08-19 06:21:33 -04:00
|
|
|
$(info make single - build Org ELisp files, single Emacs per source)
|
2012-08-09 16:33:19 -04:00
|
|
|
$(info make autoloads - create org-install.el to load Org in-place)
|
2012-08-14 18:33:17 -04:00
|
|
|
$(info make test - build Org ELisp files and run test suite)
|
2012-04-23 15:20:58 -04:00
|
|
|
helpall::
|
2012-08-14 18:33:17 -04:00
|
|
|
$(info make test-dirty - check without building first)
|
2012-08-04 09:50:39 -04:00
|
|
|
$(info make compile-dirty - build only stale Org ELisp files)
|
2012-04-23 15:20:58 -04:00
|
|
|
$(info )
|
|
|
|
$(info Compatibility)
|
|
|
|
$(info =============)
|
2012-08-04 09:50:39 -04:00
|
|
|
$(info make oldorg - what the old make did: compile autoloads info)
|
2012-04-23 15:20:58 -04:00
|
|
|
$(info )
|
|
|
|
$(info Cleaning)
|
|
|
|
$(info ========)
|
2012-08-04 09:50:39 -04:00
|
|
|
$(info make clean - remove built Org ELisp files and documentation)
|
|
|
|
$(info make cleanall - remove everything that can be built and all remnants)
|
|
|
|
$(info make clean-install - remove previous Org installation)
|
2012-04-23 15:20:58 -04:00
|
|
|
$(info )
|
2012-06-02 07:32:53 -04:00
|
|
|
$(info Configuration Check)
|
|
|
|
$(info ===================)
|
|
|
|
help helpall::
|
2012-08-04 09:50:39 -04:00
|
|
|
$(info make config - check main configuration)
|
2012-06-02 07:32:53 -04:00
|
|
|
helpall::
|
2012-08-09 16:31:47 -04:00
|
|
|
$(info make config-test - check test configuration)
|
|
|
|
$(info make config-exe - check executables configuration)
|
|
|
|
$(info make config-cmd - check command configuration)
|
|
|
|
$(info make config-all - check all configuration)
|
2012-06-02 07:32:53 -04:00
|
|
|
$(info )
|
2012-04-23 15:20:58 -04:00
|
|
|
$(info Documentation)
|
|
|
|
$(info =============)
|
2012-05-10 14:29:13 -04:00
|
|
|
help helpall::
|
2012-08-04 09:50:39 -04:00
|
|
|
$(info make doc - build all documentation)
|
2012-04-23 15:20:58 -04:00
|
|
|
helpall::
|
2012-08-04 09:50:39 -04:00
|
|
|
$(info make docs - ditto)
|
2012-05-10 14:29:13 -04:00
|
|
|
help helpall::
|
2012-08-04 09:50:39 -04:00
|
|
|
$(info make info - build Info documentation)
|
2012-04-23 15:20:58 -04:00
|
|
|
helpall::
|
2012-08-04 09:50:39 -04:00
|
|
|
$(info make html - build HTML documentation)
|
|
|
|
$(info make pdf - build PDF documentation)
|
|
|
|
$(info make card - build reference cards)
|
|
|
|
$(info make refcard - ditto)
|
2012-05-10 14:29:13 -04:00
|
|
|
help helpall::
|
2012-04-23 15:20:58 -04:00
|
|
|
$(info )
|
|
|
|
$(info Installation)
|
|
|
|
$(info ============)
|
2012-08-04 09:50:39 -04:00
|
|
|
$(info make install - build and install Org)
|
2012-04-23 15:20:58 -04:00
|
|
|
helpall::
|
2012-08-04 09:50:39 -04:00
|
|
|
$(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-08-14 18:33:17 -04:00
|
|
|
$(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 uncompiled - combine cleanlisp and autoloads)
|
|
|
|
$(info make local.mk - create new local.mk as template for adaptation)
|
2012-05-10 14:29:13 -04:00
|
|
|
help helpall::
|
2012-08-19 06:21:33 -04:00
|
|
|
$(info )
|
|
|
|
$(info Full documentation on Worg)
|
|
|
|
$(info ==========================)
|
|
|
|
$(info http://orgmode.org/worg/dev/org-build-system.html)
|
2011-07-05 05:27:13 -04:00
|
|
|
@echo ""
|
2011-07-12 13:45:59 -04:00
|
|
|
|
2012-01-02 14:07:04 -05:00
|
|
|
include targets.mk # toplevel make machinery
|