mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-29 07:58:21 +00:00
bf352eceda
* Makefile: Include default.mk and targets.mk from mk/ where they've been moved to. * README_maintainer: Rename utils to make throughout. * doc/Makefile: Rename utils to make throughout. * doc/org.texi: Remove reference to utils/, x11idle.c is now in contrib/scripts. * mk/make_emacs_changelog: Add mk/ to list of directories not to be reported in Emacs' ChangeLog. Also retain utils/ and re-add UTILITIES; add a comment explaining why these need to stay. * mk/default.mk: Rename utils to make throughout. Include version.mk from mk/ where it's been moved to. * mk/targets.mk: Rename utils to make throughout. * mk/server.mk: Rename utils to make throughout. Only put those files from mk/ into the archives that are needed outside the server: default.mk targets.mk version.mk and org-fixup.el. * lisp/org-compat.el: Rename utils to make throughout. * .gitignore: Rename utils to make throughout.
97 lines
3.4 KiB
Makefile
97 lines
3.4 KiB
Makefile
# Makefile - for the org-mode distribution
|
|
# GNU make is required
|
|
#
|
|
# This file is not part of GNU Emacs
|
|
|
|
# set up environment
|
|
include mk/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
|
|
help helpall::
|
|
$(info )
|
|
$(info Getting Help)
|
|
$(info ============)
|
|
$(info )
|
|
$(info make help - show brief help)
|
|
$(info make targets - ditto)
|
|
$(info make helpall - show extended help)
|
|
$(info )
|
|
$(info Build and Check)
|
|
$(info ===============)
|
|
$(info make - build Org ELisp and all documentation)
|
|
$(info make all - ditto)
|
|
$(info make compile - build Org ELisp files)
|
|
$(info make single - build Org ELisp files, single Emacs per source)
|
|
$(info make autoloads - create org-install.el to load Org in-place)
|
|
$(info make test - build Org ELisp files and run test suite)
|
|
helpall::
|
|
$(info make test-dirty - check without building first)
|
|
$(info make compile-dirty - build only stale Org ELisp files)
|
|
$(info )
|
|
$(info Compatibility)
|
|
$(info =============)
|
|
$(info make oldorg - what the old make did: compile autoloads info)
|
|
$(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 clean-install - remove previous Org installation)
|
|
$(info )
|
|
$(info Configuration Check)
|
|
$(info ===================)
|
|
help helpall::
|
|
$(info make config - check main configuration)
|
|
helpall::
|
|
$(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)
|
|
$(info )
|
|
$(info Documentation)
|
|
$(info =============)
|
|
help helpall::
|
|
$(info make doc - build all documentation)
|
|
helpall::
|
|
$(info make docs - ditto)
|
|
help helpall::
|
|
$(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 - ditto)
|
|
help helpall::
|
|
$(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)
|
|
$(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)
|
|
help helpall::
|
|
$(info )
|
|
$(info Full documentation on Worg)
|
|
$(info ==========================)
|
|
$(info http://orgmode.org/worg/dev/org-build-system.html)
|
|
@echo ""
|
|
|
|
include mk/targets.mk # toplevel make machinery
|