Add hyperlink to Org website from HTML export footer
[org-mode.git] / Makefile
blob70c87ed76f986f6cafe51a2ff1b79da5d0e7e143
1 # Makefile - for the org-mode distribution
3 # This file is not part of GNU Emacs
5 # set up environment
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
10 all::
12 # Describe valid make targets for org-mode.
13 .PHONY: targets help helpall
14 targets: help
15 help helpall::
16 $(info )
17 $(info Getting Help)
18 $(info ============)
19 $(info )
20 $(info make help - show brief help)
21 $(info make targets - ditto)
22 $(info make helpall - show extended help)
23 $(info )
24 $(info Build and Check)
25 $(info ===============)
26 $(info make - build Org ELisp and all documentation)
27 $(info make all - ditto)
28 $(info make compile - build Org ELisp files)
29 $(info make autoloads - create org-install.el to load org in-place)
30 $(info make check - build Org ELisp files and run test suite)
31 helpall::
32 $(info make test - ditto)
33 $(info make compile-dirty - build only stale Org ELisp files)
34 $(info make test-dirty - check without building first)
35 $(info )
36 $(info Compatibility)
37 $(info =============)
38 $(info make oldorg - what the old make did: compile autoloads info)
39 $(info )
40 $(info Convenience)
41 $(info ===========)
42 $(info make up0 - pull from upstream)
43 $(info make up1 - pull from upstream, build and check)
44 $(info make up2 - pull from upstream, build, check and install)
45 $(info make update - pull from upstream and build)
46 $(info make update2 - pull from upstream, build and install)
47 $(info make local.mk - create new local.mk as template for adaptation)
48 $(info )
49 $(info Cleaning)
50 $(info ========)
51 $(info make clean - remove built Org ELisp files and documentation)
52 $(info make cleanall - remove everything that can be built and all remnants)
53 $(info make cleandirs - clean in etc/, lisp/ and doc/)
54 $(info make cleancontrib - remove remnants in contrib/)
55 $(info make cleandoc - remove built documentation)
56 $(info make cleandocs - ditto)
57 $(info make cleanlisp - remove built Org ELisp files)
58 $(info make cleanelc - ditto)
59 $(info make cleantest - remove check remnants)
60 $(info make clean-install - remove previous Org installation)
61 $(info )
62 $(info Documentation)
63 $(info =============)
64 help helpall::
65 $(info make doc - build all documentation)
66 helpall::
67 $(info make docs - ditto)
68 help helpall::
69 $(info make info - build Info documentation)
70 helpall::
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 - ditto)
75 help helpall::
76 $(info )
77 $(info Installation)
78 $(info ============)
79 $(info make install - build and install Org)
80 helpall::
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 help helpall::
85 @echo ""
87 include targets.mk # toplevel make machinery