1 # Makefile - for the org-mode distribution
3 # This file is not part of GNU Emacs
6 include default.mk
# defaults, customizable via "local.mk"
7 -include local.mk
# optional local customization, use default.mk as template
9 # default target is "all" unless overridden in local.mk
12 # Describe valid make targets for org-mode.
14 targets help helpall
::
19 $(info make help
- show brief help
)
20 $(info make targets
- dito
)
21 $(info make helpall
- show extended help
)
23 $(info Build and Check
)
24 $(info ===============)
25 $(info make
- build Org ELisp and
all documentation
)
26 $(info make
all - dito
)
27 $(info make compile
- build Org ELisp files
)
28 $(info make autoloads
- create org-install.el to load org in-place
)
29 $(info make
check - build Org ELisp files and run
test suite
)
31 $(info make
test - dito
)
32 $(info make compile-dirty
- build only stale Org ELisp files
)
33 $(info make test-dirty
- check without building first
)
37 $(info make oldorg
- what the old make did
: compile autoloads
info)
41 $(info make up0
- pull from upstream
)
42 $(info make up1
- pull from upstream
, build and
check)
43 $(info make up2
- pull from upstream
, build
, check and
install)
44 $(info make update
- pull from upstream and build
)
45 $(info make update2
- pull from upstream
, build and
install)
46 $(info make local.mk
- create new local.mk
as template for adaptation
)
50 $(info make
clean - remove built Org ELisp files and documentation
)
51 $(info make cleanall
- remove everything that can be built and
all remnants
)
52 $(info make cleandirs
- clean in etc
/, lisp
/ and doc
/)
53 $(info make cleancontrib
- remove remnants in contrib
/)
54 $(info make cleandoc
- remove built documentation
)
55 $(info make cleandocs
- dito
)
56 $(info make cleanlisp
- remove built Org ELisp files
)
57 $(info make cleanelc
- dito
)
58 $(info make cleanrel
- remove release remnants
)
59 $(info make cleantest
- remove
check remnants
)
60 $(info make clean-install
- remove previous Org installation
)
64 targets help helpall
::
65 $(info make doc
- build
all documentation
)
67 $(info make docs
- dito
)
68 targets help helpall
::
69 $(info make
info - build Info documentation
)
71 $(info make html
- build HTML documentation
)
72 $(info make pdf
- build PDF documentation
)
73 $(info make card
- build reference cards
)
74 $(info make refcard
- dito
)
75 targets help helpall
::
79 $(info make
install - build and
install Org
)
81 $(info make install-etc
- build and
install files in
/etc
)
82 $(info make install-lisp
- build and
install Org Elisp files
)
83 $(info make install-info
- build and
install Info documentation
)
84 targets help helpall
::
87 include targets.mk
# toplevel make machinery