1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00
Commit Graph

38 Commits

Author SHA1 Message Date
Stefan Monnier
77ab81d054 Merge from emacs-23 2011-01-14 12:18:41 -05:00
Christian Ohler
d221e7808c Add ERT, a tool for automated testing in Emacs Lisp.
* Makefile.in, configure.in, doc/misc/Makefile.in, doc/misc/makefile.w32-in:
Add ERT.  Make "make check" run tests in test/automated.

* doc/misc/ert.texi, lisp/emacs-lisp/ert.el, lisp/emacs-lisp/ert-x.el:
New files.

* test/automated: New directory.
2011-01-13 03:08:24 +11:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Glenn Morris
8289f37b64 doc/Makefile fixes related to inclusion of emacsver.texi.
* doc/lispref/Makefile.in (elisp.dvi, elisp.pdf): Also include $emacsdir.

* doc/misc/Makefile.in (MAKEINFO, ENVADD): Add $emacsdir to include path.
(($(infodir)/calc, calc.dvi, calc.pdf): Depend on emacsver.texi.
($(infodir)/efaq): Remove -I option now in $MAKEINFO.
2010-10-28 00:21:43 -07:00
Glenn Morris
c12e4a81fe Add ps rules for some doc/ Makefiles.
* doc/misc/Makefile.in (.texi.dvi): Remove unnecessary suffix rule.

* dos/lispref/Makefile.in (DVIPS): New variable.
(.PHONY): Add ps.
(ps, elisp.ps): New targets.
(clean): Delete ps file.

* doc/lispintro/Makefile.in (.dvi.ps): Remove unnecessary suffix rule.
(.PHONY): Add ps.
(ps, emacs-lisp-intro.ps): New targets.
(clean): Delete ps file.

* doc/emacs/Makefile.in (.texi.dvi): Remove unnecessary suffix rule.
(DVIPS): New variable.
(.PHONY): Add ps.
(ps, emacs.ps, emacs-xtra.ps): New targets.
(clean): Delete ps files.
2010-10-10 17:30:34 -07:00
Glenn Morris
e836e5cd04 * doc/misc/Makefile.in: Missed a few spots in the earlier $< change. 2010-10-09 15:40:30 -07:00
Glenn Morris
c1dc72b395 Replace use of VPATH in most doc/ Makefiles.
* doc/lispref/Makefile.in (VPATH): Remove.
(infodir): Make it absolute.
(mkinfodir, $(infodir)/elisp, infoclean): No need to cd $srcdir.

* doc/lispintro/Makefile.in (VPATH): Remove.
(infodir): Make it absolute.
(mkinfodir, $(infodir)/eintr, infoclean): No need to cd $srcdir.

* doc/emacs/Makefile.in (VPATH): Remove.
(infodir): Make it absolute.
(mkinfodir, $(infodir)/emacs, infoclean): No need to cd $srcdir.

* doc/misc/Makefile.in: Comment.
2010-10-09 14:19:09 -07:00
Glenn Morris
0f05450f83 * doc/misc/Makefile.in (mostlyclean): Delete *.toc. 2010-10-09 13:14:43 -07:00
Glenn Morris
d3a4ac46f5 * doc/misc/Makefile.in: Use $< in rules. 2010-10-09 13:12:18 -07:00
Glenn Morris
5bd2348590 Fix previous doc/*/Makefile.in change. 2010-10-09 12:27:22 -07:00
Glenn Morris
aa9db089bc Quieten emacs-devel.
* doc/misc/Makefile.in (maintainer-clean): Remove harmless, long-standing error.

* doc/lispref/Makefile.in (infoclean): Remove harmless, long-standing error.

* doc/lispintro/Makefile.in (infoclean): Remove harmless, long-standing error.

* doc/emacs/Makefile.in (infoclean): Remove harmless, long-standing error.
2010-10-09 11:39:01 -07:00
Glenn Morris
abd40fb4ee Avoid having a directory as a prerequisite in doc Makefiles.
It does not play well with time-stamping.

* doc/misc/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.  Use it in all the info rules, rather than depending
on infodir.

* doc/lispref/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.
($(infodir)/elisp): Use $mkinfodir instead of infodir.

* doc/lispintro/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.
($(infodir)/eintr): Use $mkinfodir instead of infodir.

* doc/emacs/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.
($(infodir)/emacs): Use $mkinfodir instead of infodir.
2010-10-09 11:31:12 -07:00
Glenn Morris
b13254e712 Add doc/ dependencies on emacsver.texi.
* doc/misc/Makefile.in ($(infodir)/efaq): Depend on emacsver.texi.

* doc/lispref/Makefile.in (srcs): Add emacsver.texi.

* doc/emacs/Makefile.in (EMACSSOURCES): Add emacsver.texi.
2010-10-08 19:09:46 -07:00
Glenn Morris
f7a31f1108 Set the version number in the texinfo manuals using configure.
* doc/misc/Makefile.in (emacsdir): New variable.
($(infodir)/efaq): Pass -I $(emacsdir) to makeinfo.
* doc/misc/faq.texi (VER): Replace with EMACSVER from emacsver.texi.

* doc/lispref/Makefile.in (emacsdir): New variable.
(MAKEINFO): Add -I $emacsdir.
(dist): Copy emacsver.texi.
* doc/lispref/book-spine.texinfo, doc/lispref/elisp.texi:
* doc/lispref/vol2.texi, doc/lispref/vol1.texi:
Set EMACSVER by including emacsver.texi.

* doc/emacs/emacsver.texi.in: New file.
* doc/emacs/emacs.texi: Set EMACSVER by including emacsver.texi.
* doc/emacs/Makefile.in (distclean): Delete emacsver.texi.
(dist): Copy emacsver.texi.

* admin/admin.el (set-version): No need to act on doc/ files any more.

* configure.in (AC_OUTPUT): Add doc/emacs/emacsver.texi.
* make-dist: Include doc/emacs/*.texi.in.
2010-10-08 18:41:21 -07:00
Glenn Morris
ea274122d5 Mark some doc/ rules as PHONY.
* doc/misc/Makefile.in (.PHONY): Declare info, dvi, pdf and the clean rules.

* doc/lispref/Makefile.in (.PHONY): Declare info, dvi, pdf, dist.

* doc/lispintro/Makefile.in (.PHONY): Declare info, dvi, html, pdf, dist.

* doc/emacs/Makefile.in (.PHONY): Declare info, dvi, pdf, dist.
(emacs): Remove rule.
(dist): No need to deal with the emacs rule any more.
2010-10-08 18:02:21 -07:00
Glenn Morris
8a944cea15 Minor doc/*/Makefile.in change.
* doc/emacs/Makefile.in ($(infodir)): Add parallel build workaround.
* doc/lispintro/Makefile.in ($(infodir)): Add parallel build workaround.
* doc/lispref/Makefile.in ($(infodir)): Add parallel build workaround.
* doc/misc/Makefile.in ($(infodir)): Add parallel build workaround.
2010-10-05 21:20:46 -07:00
Glenn Morris
4c83f6e1e2 Misc cleanup for doc/*/Makefiles.
* doc/misc/Makefile.in (SHELL): Set it.
(info): Move the mkdir dependency to the individual info files.
(mostlyclean): Tidy up.
(clean): Only delete the specific dvi and pdf files.
(maintainer-clean): Be more restrictive in what we delete.

* doc/lispref/Makefile.in: Rearrange to more closely resemble
doc/emacs/Makefile.
(INSTALL_INFO): Remove unused variable.
(mostlyclean, infoclean, dist): New rules.
(clean): Delete dvi and pdf files.
(maintainer-clean): Remove elisp.oaux, use infoclean.

* doc/lispintro/Makefile.in (SHELL): Use /bin/sh, like every other Makefile.in.
(INFO_SOURCES, INFO_TARGETS, DVI_TARGETS): Remove variables.
($(infodir), html, pdf, infoclean, dist): New rules.
(${infodir}/eintr): Ensure $infodir exists.  Use $@.
(emacs-lisp-intro.dvi, emacs-lisp-intro.pdf, emacs-lisp-intro.html): Use $^.
(.PHONY): Declare clean rules.
(mostlyclean): Delete more temp files.
(clean): Delete specific dvi, pdf and html files.
(maintainer-clean): Use infoclean.
(.NOEXPORT): Remove, unused by any other Makefile.in.

* doc/emacs/Makefile.in (EMACS_XTRA): Add the main source file.
(emacs-xtra.dvi, emacs-xtra.pdf): Remove explicit emacs-xtra.texi.
(mostlyclean): No core files, reorder other files.
(clean): Delete specific dvi and pdf files.
(infoclean, dist): New rules.
(maintainer-clean): Use infoclean.
2010-10-05 19:26:38 -07:00
Glenn Morris
5f87432784 Remove unused variable top_srcdir from doc Makefiles.
* doc/emacs/Makefile.in (top_srcdir): Remove unused variable.
* doc/misc/Makefile.in (top_srcdir): Remove unused variable.
2010-09-28 21:25:59 -07:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Glenn Morris
698bfef706 (INFO_TARGETS, DVI_TARGETS): Add edt.
(edt, $(infodir)/edt, edt.dvi): New targets.

(PDF_TARGETS, pdf): New.
(clean): Add *.pdf.
Add pdf rules for all manuals.
2009-12-15 03:01:20 +00:00
Chong Yidong
3149927d2f * Makefile.in: Build the Semantic manual.
* semantic.texi, sem-user.texi: New files, adapted from the Semantic
repository.
2009-11-16 22:25:49 +00:00
Chong Yidong
966a6506b3 * eieio.texi:
* ede.texi: New files.

* Makefile.in: Build EIEIO and EDE manuals.
2009-10-07 01:10:52 +00:00
Glenn Morris
fbe1bb4638 Comment. 2009-03-04 05:44:22 +00:00
Glenn Morris
651c5b8343 (INFO_TARGETS, DVI_TARGETS): Add auth.
(auth, $(infodir)/auth, auth.dvi): New rules.
2009-03-03 04:20:30 +00:00
Glenn Morris
6ed161e1d6 Add 2009 to copyright years. 2009-01-08 05:28:46 +00:00
Chong Yidong
61de9aca20 Removed ns-emacs.texi 2008-11-14 20:47:58 +00:00
Chong Yidong
d765c8c382 Add mairix-el targets. 2008-07-29 18:00:46 +00:00
Andreas Schwab
568beaa253 * ns-emacs.texi: Moved from ../emacs. Add @direntry.
* Makefile.in (INFO_TARGETS, DVI_TARGETS): Add ns-emacs.
(ns-emacs, $(infodir)/ns-emacs, ns-emacs.dvi): New rules.

* ns-emacs.texi: Move to ../misc.
2008-07-19 08:54:28 +00:00
Glenn Morris
e92fa3d954 (INFO_TARGETS, DVI_TARGETS): Add sasl.
(sasl, $(infodir)/sasl, sasl.dvi): New rules.
2008-06-15 02:22:04 +00:00
Glenn Morris
97c0352c51 Switch to recommended form of GPLv3 permissions notice. 2008-05-16 05:22:47 +00:00
Michael Olson
c154c0be04 EasyPG: Initial check-in. 2008-02-08 06:54:27 +00:00
Miles Bader
1bad168e59 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1006
2008-01-22 23:53:46 +00:00
Michael Albinus
7b13a0f20c * Makefile.in (INFO_TARGETS, DVI_TARGETS): Apply dbus and dbus.dvi
unconditionally.

* dbus.texi (Synchronous Methods): Show the result of the "lshal"
emulation with @print{}.
2007-12-03 06:48:12 +00:00
Michael Albinus
d3a8e0dffb * Makefile.in (INFO_TARGETS): Add dbus.
(DVI_TARGETS): Add dbus.dvi.
(dbus, dbus.dvi): New targets.
2007-12-02 16:56:53 +00:00
Mark A. Hershberger
ac97a16bd1 Fixups for nxml per Romain Francoise email. 2007-11-23 19:38:49 +00:00
Michael Olson
70bdc930e0 doc/misc/Makefile.in: Add targets to build Remember Manual 2007-10-30 12:31:34 +00:00
Glenn Morris
c21180f3d9 Move the parts of the old man/Makefile.in that do not refer to the
Emacs manual here.
(infodir): New variable.
(INFO_TARGETS, info): Use infodir.  Also used by all info targets.
(cc-mode.texi, faq.texi): Update references to source file locations.

Add `basename' versions of all info targets, for convenience when
rebuilding just one manual.
(../etc/GNU): Delete obsolete target.
(.SUFFIXES): Use $(TEXI2DVI) rather than texi2dvi.
(mostlyclean): Add *.op, *.ops.  Move *.aux *.cps *.fns *.kys *.pgs
2007-09-06 05:07:44 +00:00
Glenn Morris
4009494e10 Move here from ../../man 2007-09-06 05:07:05 +00:00