forked from mirrors/org-mode
* Makefile: make documentation follow the implementation. * targets.mk: add "doc" as alternative target for "docs" to adhere more closely to standards some fixes
40 lines
1.4 KiB
Makefile
40 lines
1.4 KiB
Makefile
# Makefile - for the org-mode distribution
|
|
#
|
|
# This file is not part of GNU Emacs
|
|
|
|
# default target is "all"
|
|
all::
|
|
|
|
# Describe valid make targets for org-mode.
|
|
.PHONY: targets help
|
|
targets help:
|
|
$(info )
|
|
$(info make help - show this help)
|
|
$(info make - cleanly compile Org ELisp files and documentation)
|
|
$(info )
|
|
$(info Installation)
|
|
$(info ============)
|
|
$(info make install - install Org, both ELisp and Info files)
|
|
$(info make install-lisp - install Org, only ELisp files)
|
|
$(info make install-info - install Org, only Info file)
|
|
$(info )
|
|
$(info Maintenance)
|
|
$(info ===========)
|
|
$(info make doc - make all documentation)
|
|
$(info make info - make Info documentation)
|
|
$(info make html - make HTML documentation)
|
|
$(info make pdf - make pdf documentation)
|
|
$(info make card - make refcards documentation)
|
|
$(info )
|
|
$(info make check - build org and run complete test suite)
|
|
$(info make clean - clean Org ELisp and documentation files)
|
|
$(info make compile - cleanly compile Org ELisp files)
|
|
$(info make compile-dirty - compile Org ELisp without cleaning)
|
|
$(info )
|
|
$(info make clean-install - remove installed Org ELisp and documentation files)
|
|
@echo ""
|
|
|
|
include default.mk # defaults, customizable via "local.mk"
|
|
-include local.mk # optional local customization, use default.mk as template
|
|
include targets.mk # toplevel make machinery
|