Commit 62fb5e25 authored by Miles Bader's avatar Miles Bader
Browse files

Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 857-862)

   - Update from CVS
   - Merge from emacs--rel--22
   - Update from CVS: lisp/emacs-lisp/avl-tree.el: New file.

 * emacs--rel--22  (patch 97-100)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 246-247)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-38
parents 9005667b 83cc8d35
2007-08-24 Glenn Morris <rgm@gnu.org>
* configure.in: Check for a suitably recent makeinfo.
2007-08-23 Johannes Weiner <hannes@saeurebad.de> (tiny change)
* configure.in (Check for required libraries): Typo.
2007-08-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* configure.in: Check librsvg2 also for Mac Carbon.
2007-08-22 Romain Francoise <romain@orebokech.com>
* make-dist: Follow reorganization of files in etc/.
2007-08-22 Paul Pogonyshev <pogonyshev@gmx.net>
* configure.in: Add support for SVG images through librsvg2.
2007-07-28 Eli Zaretskii <eliz@gnu.org>
* Makefile.in (install-arch-indep): Use "rm -f" for removing DOC,
......
......@@ -76,7 +76,7 @@ There are several subdirectories:
`man' holds the source code for the Emacs Manual. If you modify the
manual sources, you will need the `makeinfo' program to produce
an updated manual. `makeinfo' is part of the GNU Texinfo
package; you need version 4.2 or later of Texinfo.
package; you need version 4.6 or later of Texinfo.
`lispref' holds the source code for the Emacs Lisp reference manual.
`lispintro' holds the source code for the Introduction to Programming
in Emacs Lisp manual.
......
......@@ -38,6 +38,13 @@ to the hack introduced on 2005-07-01 to fix some other Cleartype problem.
** henman@it.to-be.co.jp 09 Aug 2006: ispell.el problem on Cygwin.
(Did we decide that is unreproducible?)
** set-frame-size for frame without minibuffer loses mode line
Probably a Windows only bug. Reported by Drew Adams on bug-gnu-emacs on
2007-08-07. It seems that the bug manifests itself only if resizing the
frame makes the menu bar wrap before. On 2007-08-16 Glenn Morris
reported on emacs-devel that he was not able to reproduce the bug on a
GNU/Linux system.
* BUGS
NB the definitive copy of this file for Emacs 22 is on the
......@@ -52,14 +59,9 @@ won't lose on USG or HPUX systems.
* FIXES FOR EMACS 22.3
Here we list small fixes that arrived too late for Emacs 22.2, but
Here we list any small fixes that arrived too late for Emacs 22.2, but
that should be installed on the release branch after 22.2 is released.
** bojohan+news@dd.chalmers.se, 1 Aug: n_schumacher@web.de: modification hooks called only once in
Fix is on the trunk: 2007-08-13 change to insdel.c by Stefan Monnier.
http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg00457.html
* DOCUMENTATION
** Check the Emacs Tutorial.
......
Some lisp/emacs-lisp/ Features and Where They Are Documented
Copyright (C) 2007 Free Software Foundation, Inc.
* Status Key
- -- as yet unknown
n/a -- not applicable (internal, uninteresting, etc)
todo -- not documented but should be
"NODE" -- documented in or under info node NODE
* Features
advice -
advice-preload n/a
assoc -
authors -
autoload -
avl-tree -
backquote n/a
benchmark -
bindat "(elisp) Byte Packing"
byte-compile -
byte-opt -
bytecomp -
checkdoc -
cl "(cl)"
cl-19 n/a
cl-compat n/a
cl-specs n/a
copyright -
crm -
cust-print -
debug -
derived -
disass -
easy-mmode -
easymenu -
edebug -
eldoc -
elint -
elp -
ewoc "(elisp) Separated Rendering"
find-func -
find-gc -
generic -
gulp n/a
helper -
levents -
lisp-float-type -
lisp-mnt -
lisp-mode -
lmenu -
lselect -
lucid -
macroexp -
pp -
re-builder -
regexp-opt -
regi -
ring "(elisp) Rings"
rx -
shadow -
sregex -
syntax -
testcover -
timer -
tq "(elisp) Transaction Queues"
trace -
unsafep -
warnings -
* Above list created using default directory lisp/emacs-lisp/ with
(shell-command
"sed '/^(provide '\\''/!d;s// /;s/).*//' *.el | sort | uniq")
* How to use this file to improve Emacs
(loop
(let* ((feature (choose-one Features))
(status (feature-status feature)))
(if (or (eq '- status) (not (verify status)))
(update feature (current-docs feature))
(case status
(todo (let (doc patch feedback)
(while (not (grok feature))
(or (play-with feature)
(grep feature Internet)
(grep feature (wisdom-maybe "emacs-devel"))))
(setq doc (write-documentation feature)
patch (diff (current-docs) doc))
(while (not (and (correct doc)
(well-placed doc)
(well-formed patch)))
(setq doc (revise doc)
patch (diff (current-docs) doc))
feedback (wisdom-maybe "emacs-devel" patch))
(when (install patch)
(when (update feature (current-docs feature))
(job-well-done user-login-name)))))
(n/a (job-well-done user-login-name))))))
* Etc
Local variables:
mode: outline
End:
......@@ -687,6 +687,8 @@ CFLAGS_SOUND
SET_MAKE
XMKMF
HAVE_XSERVER
RSVG_CFLAGS
RSVG_LIBS
GTK_CFLAGS
GTK_LIBS
XFT_CFLAGS
......@@ -1341,8 +1343,9 @@ Optional Packages:
--with-gif use -lgif (or -lungif) for displaying GIF images
--with-png use -lpng for displaying PNG images
--with-gpm use -lgpm for mouse support on a GNU/Linux console
--with-rsvg use -lrsvg-2 for displaying SVG images
--with-gtk use GTK (same as --with-x-toolkit=gtk)
--with-pkg-config-prog Path to pkg-config to use for finding GTK
--with-pkg-config-prog Path to pkg-config to use for finding GTK and librsvg
--without-toolkit-scroll-bars
don't use Motif or Xaw3d scroll bars
--without-xim don't use X11 XIM
......@@ -1949,6 +1952,12 @@ if test "${with_gpm+set}" = set; then
fi
 
 
# Check whether --with-rsvg was given.
if test "${with_rsvg+set}" = set; then
withval=$with_rsvg;
fi
# Check whether --with-gtk was given.
if test "${with_gtk+set}" = set; then
withval=$with_gtk;
......@@ -9628,16 +9637,16 @@ fi
test -n "$DISPLAY" ||
test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
{ { echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries
where found. You should install the relevant development files for X
and the for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
were found. You should install the relevant development files for X
and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
sure you have development files for image handling, i.e.
tiff, gif, jpeg, png and xpm.
If you are sure you want Emacs compiled without X window support, pass
--without-x
to configure." >&5
echo "$as_me: error: You seem to be running X, but no X development libraries
where found. You should install the relevant development files for X
and the for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
were found. You should install the relevant development files for X
and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
sure you have development files for image handling, i.e.
tiff, gif, jpeg, png and xpm.
If you are sure you want Emacs compiled without X window support, pass
......@@ -11068,6 +11077,130 @@ echo "${ECHO_T}before 5" >&6; }
fi
fi
 
### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified.
HAVE_RSVG=no
if test "${HAVE_X11}" = "yes" || test "${HAVE_CARBON}" = "yes"; then
if test "${with_rsvg}" != "no"; then
if test "X${with_pkg_config_prog}" != X; then
PKG_CONFIG="${with_pkg_config_prog}"
fi
RSVG_REQUIRED=2.0.0
RSVG_MODULE="librsvg-2.0 >= $RSVG_REQUIRED"
succeeded=no
if test -z "$PKG_CONFIG"; then
# Extract the first word of "pkg-config", so it can be a program name with args.
set dummy pkg-config; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
case $PKG_CONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
;;
esac
fi
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
if test -n "$PKG_CONFIG"; then
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
echo "${ECHO_T}$PKG_CONFIG" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
fi
if test "$PKG_CONFIG" = "no" ; then
:
else
PKG_CONFIG_MIN_VERSION=0.9.0
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
{ echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5
echo $ECHO_N "checking for $RSVG_MODULE... $ECHO_C" >&6; }
if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
succeeded=yes
{ echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5
echo $ECHO_N "checking RSVG_CFLAGS... $ECHO_C" >&6; }
RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'`
{ echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5
echo "${ECHO_T}$RSVG_CFLAGS" >&6; }
{ echo "$as_me:$LINENO: checking RSVG_LIBS" >&5
echo $ECHO_N "checking RSVG_LIBS... $ECHO_C" >&6; }
RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'`
{ echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5
echo "${ECHO_T}$RSVG_LIBS" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
RSVG_CFLAGS=""
RSVG_LIBS=""
## If we have a custom action on failure, don't print errors, but
## do set a variable so people can do so.
RSVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$RSVG_MODULE"`
fi
else
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
echo "*** See http://www.freedesktop.org/software/pkgconfig"
fi
fi
if test $succeeded = yes; then
:
else
:
fi
if test ".${RSVG_CFLAGS}" != "."; then
HAVE_RSVG=yes
cat >>confdefs.h <<\_ACEOF
#define HAVE_RSVG 1
_ACEOF
CFLAGS="$CFLAGS $RSVG_CFLAGS"
LIBS="$RSVG_LIBS $LIBS"
fi
fi
fi
HAVE_GTK=no
if test "${with_gtk}" = "yes" && test "$USE_X_TOOLKIT" = "gtk"; then
USE_X_TOOLKIT=none
......@@ -23518,6 +23651,7 @@ echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"
echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
echo " Does Emacs use a gif library? ${HAVE_GIF} $ac_gif_lib_name"
echo " Does Emacs use -lpng? ${HAVE_PNG}"
echo " Does Emacs use -lrsvg-2? ${HAVE_RSVG}"
echo " Does Emacs use -lgpm? ${HAVE_GPM}"
echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"
echo
......@@ -24279,6 +24413,8 @@ CFLAGS_SOUND!$CFLAGS_SOUND$ac_delim
SET_MAKE!$SET_MAKE$ac_delim
XMKMF!$XMKMF$ac_delim
HAVE_XSERVER!$HAVE_XSERVER$ac_delim
RSVG_CFLAGS!$RSVG_CFLAGS$ac_delim
RSVG_LIBS!$RSVG_LIBS$ac_delim
GTK_CFLAGS!$GTK_CFLAGS$ac_delim
GTK_LIBS!$GTK_LIBS$ac_delim
XFT_CFLAGS!$XFT_CFLAGS$ac_delim
......@@ -24303,8 +24439,6 @@ etcdir!$etcdir$ac_delim
archlibdir!$archlibdir$ac_delim
bitmapdir!$bitmapdir$ac_delim
gamedir!$gamedir$ac_delim
gameuser!$gameuser$ac_delim
c_switch_system!$c_switch_system$ac_delim
_ACEOF
 
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
......@@ -24346,6 +24480,8 @@ _ACEOF
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
cat >conf$$subs.sed <<_ACEOF
gameuser!$gameuser$ac_delim
c_switch_system!$c_switch_system$ac_delim
c_switch_machine!$c_switch_machine$ac_delim
LD_SWITCH_X_SITE!$LD_SWITCH_X_SITE$ac_delim
LD_SWITCH_X_SITE_AUX!$LD_SWITCH_X_SITE_AUX$ac_delim
......@@ -24357,7 +24493,7 @@ carbon_appdir!$carbon_appdir$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
 
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 11; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
......
......@@ -110,10 +110,12 @@ AC_ARG_WITH(png,
[ --with-png use -lpng for displaying PNG images])
AC_ARG_WITH(gpm,
[ --with-gpm use -lgpm for mouse support on a GNU/Linux console])
AC_ARG_WITH(rsvg,
[ --with-rsvg use -lrsvg-2 for displaying SVG images])
AC_ARG_WITH(gtk,
[ --with-gtk use GTK (same as --with-x-toolkit=gtk)])
AC_ARG_WITH(pkg-config-prog,
[ --with-pkg-config-prog Path to pkg-config to use for finding GTK])
[ --with-pkg-config-prog Path to pkg-config to use for finding GTK and librsvg])
AC_ARG_WITH(toolkit-scroll-bars,
[ --without-toolkit-scroll-bars
don't use Motif or Xaw3d scroll bars])
......@@ -1341,6 +1343,21 @@ AC_PATH_PROG(INSTALL_INFO, install-info,:, /sbin)
dnl Don't use GZIP, which is used by gzip for additional parameters.
AC_PATH_PROG(GZIP_PROG, gzip)
## Need makeinfo >= 4.6 (?) to build the manuals.
AC_PATH_PROG(MAKEINFO, makeinfo, no)
dnl By this stage, configure has already checked for egrep and set EGREP,
dnl or exited with an error if no egrep was found.
if test "$MAKEINFO" != "no" && \
test x"`$MAKEINFO --version 2> /dev/null | $EGREP 'texinfo[[^0-9]]*([[5-9]]|4\.[[6-9]])'`" = x; then
MAKEINFO=no
fi
if test "$MAKEINFO" = "no"; then
AC_MSG_ERROR( [makeinfo >= 4.6 is required] )
fi
dnl Add our options to ac_link now, after it is set up.
if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x
......@@ -2122,6 +2139,32 @@ fail;
fi
fi
### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified.
HAVE_RSVG=no
if test "${HAVE_X11}" = "yes" || test "${HAVE_CARBON}" = "yes"; then
if test "${with_rsvg}" != "no"; then
dnl Check if `--with-pkg-config-prog' has been given.
if test "X${with_pkg_config_prog}" != X; then
PKG_CONFIG="${with_pkg_config_prog}"
fi
RSVG_REQUIRED=2.0.0
RSVG_MODULE="librsvg-2.0 >= $RSVG_REQUIRED"
PKG_CHECK_MODULES(RSVG, $RSVG_MODULE, :, :)
AC_SUBST(RSVG_CFLAGS)
AC_SUBST(RSVG_LIBS)
if test ".${RSVG_CFLAGS}" != "."; then
HAVE_RSVG=yes
AC_DEFINE(HAVE_RSVG, 1, [Define to 1 if using librsvg.])
CFLAGS="$CFLAGS $RSVG_CFLAGS"
LIBS="$RSVG_LIBS $LIBS"
fi
fi
fi
HAVE_GTK=no
if test "${with_gtk}" = "yes" && test "$USE_X_TOOLKIT" = "gtk"; then
USE_X_TOOLKIT=none
......@@ -2582,7 +2625,7 @@ if test "${HAVE_X11}" = "yes"; then
MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
if test "X${MISSING}" != X; then
AC_MSG_ERROR([The following required libraries was not found:
AC_MSG_ERROR([The following required libraries were not found:
$MISSING
Maybe some development libraries/packages are missing?
If you don't want to link with them give
......@@ -3363,6 +3406,7 @@ echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"
echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
echo " Does Emacs use a gif library? ${HAVE_GIF} $ac_gif_lib_name"
echo " Does Emacs use -lpng? ${HAVE_PNG}"
echo " Does Emacs use -lrsvg-2? ${HAVE_RSVG}"
echo " Does Emacs use -lgpm? ${HAVE_GPM}"
echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"
echo
......
2007-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* PROBLEMS (Mac OS X): Add alternative workaround for QuickTime
updater breakage.
2007-08-26 Micha,Ak(Bl Cadilhac <michael@cadilhac.name>
* NEWS: Say that PDF files are now the default for refcards.
* fr-drdref.tex, fr-drdref.pdf: Move these to...
* fr-dired-ref.tex, fr-dired-ref.pdf: ... those names.
* refcards/pdflayout.sty: New. Handle PDF layouts through
\pdfpagewidth and \pdfpageheight.
* calccard.pdf, cs-dired-ref.pdf, cs-refcard.pdf, de-refcard.pdf:
* dired-ref.pdf, fr-drdref.pdf, fr-refcard.pdf, gnus-booklet.pdf:
* gnus-logo.pdf, gnus-refcard.pdf, orgcard.pdf, pl-refcard.pdf:
* pt-br-refcard.pdf, refcard.pdf, ru-refcard.pdf, sk-dired-ref.pdf:
* sk-refcard.pdf: Add PDF versions of the refcards.
* calccard.ps, cs-dired-ref.ps, cs-refcard.ps, de-refcard.ps:
* dired-ref.ps, fr-drdref.ps, fr-refcard.ps, gnus-booklet.ps:
* gnus-logo.ps, gnus-refcard.ps, orgcard.ps, pl-refcard.ps:
* pt-br-refcard.ps, refcard.ps, ru-refcard.ps, sk-dired-ref.ps:
* sk-refcard.ps: Remove the PS versions of the refcards.
* calccard.tex, fr-survival.tex, orgcard.tex, pl-refcard.tex:
* pt-br-refcard.tex, refcard.tex, survival.tex, vipcard.tex:
* viperCard.tex: Specify PDF layout, use a PDF `compile-command' local
variable.
* cs-dired-ref.tex, cs-refcard.tex, cs-survival.tex, dired-ref.tex:
* fr-drdref.tex, sk-dired-ref.tex, sk-refcard.tex, sk-survival.tex:
Specify PDF layout.
* fr-refcard.tex: Update copyright notice. Update the examples. Fix a
typo. Remove the `letterpaper' counter, specify PDF layout, use a PDF
`compile-command' local variable.
* de-refcard.tex: Remove the `letterpaper' counter, specify PDF layout,
use a PDF `compile-command' local variable.
* ru-refcard.tex: Use a PDF `compile-command' local variable.
* Makefile: Add rules for creating the refcards in PDF, make them the
default. Change `fr-drdref' to `fr-dired-ref'.
2007-08-23 Glenn Morris <rgm@gnu.org>
* Makefile (mostlyclean, clean, distclean, maintainer-clean):
Delete these targets since nothing uses them.
(SOURCES): Update.
Move comments to e/README. Remove license from now-trivial file.
* e/README: New file, with most information formerly in Makefile.
2007-08-22 Karl Berry <karl@gnu.org>
* refcard.tex: updates for printing.
(\versionyear): update to 2007.
(\copyrightnotice): modified or unmodified ok.
(Simple Customization): don't use goto-line, since now it's bound.
^ Also, use now-preferred (kbd ...) syntax.
2007-08-22 Michael Albinus <michael.albinus@gmx.de>
* NEWS: `shell' prompts for the default directory if called with a
prefix and `default-directory' is a remote file name.
2007-08-22 Carsten Dominik <dominik@science.uva.nl>
* orgcard.tex: Version number upgrade.
2007-08-22 Glenn Morris <rgm@gnu.org>
* tree-widget: Move this directory into images/ subdirectory.
* refcards/: New directory. Move refcards here.
* Makefile: Move refcard rules from here...
* refcards/Makefile: ...to here.
* README: Move information about tex files from here...
* refcards/README: ...to here.
* tutorials/: New directory. Move TUTORIAL* here.
* gnus.pbm, letter.pbm, letter.xpm:
* splash.pbm, splash.xpm, splash8.xpm: Move from etc/ to etc/images/.
* README: Move license information for the above files from here...
* images/README: ...to here.
2007-08-14 Glenn Morris <rgm@gnu.org>
* NEWS: Mention `bad-packages-alist'.
......
### Makefile for Emacs etc/ directory
### Makefile for Emacs etc/ directory.
## Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, 2005, 2006,
## 2007 Free Software Foundation, Inc.
.PHONY: unlock relock
## This file is part of GNU Emacs.
## GNU Emacs is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3, or (at your option)
## any later version.
## GNU Emacs is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
## You should have received a copy of the GNU General Public License
## along with GNU Emacs; see the file COPYING. If not, write to the
## Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
## Boston, MA 02110-1301, USA.
## Top-level targets.
## PS files included with Emacs.
all: refcards dired-refcards misc-refcards
refcards: refcard.ps cs-refcard.ps de-refcard.ps fr-refcard.ps \
pl-refcard.ps pt-br-refcard.ps ru-refcard.ps sk-refcard.ps
dired-refcards: dired-ref.ps cs-dired-ref.ps fr-drdref.ps sk-dired-ref.ps
## No PS files: vipcard.tex viperCard.tex survival.tex sk-survival.tex
misc-refcards: calccard.ps gnus-booklet.ps gnus-refcard.ps orgcard.ps
## Following PS files are not included with Emacs.
survival-cards: survival.ps cs-survival.ps sk-survival.ps
viper-cards: vipcard.ps viperCard.ps
## dvi files.
## FIXME the sk-*.tex files say to use csplain, but were not
## traditionally in this rule. Fix the doc or the rule.
cs-refcard.dvi cs-dired-ref.dvi cs-survival.dvi: %.dvi: %.tex
csplain $<
pl-refcard.dvi: %.dvi: %.tex
if ! kpsewhich -format=fmt mex > /dev/null; then \
echo "No mex format found."; false; \
fi
tex $<
ru-refcard.dvi gnus-refcard.dvi: %.dvi: %.tex
latex $<
gnus-booklet.dvi: gnus-refcard.tex
latex '\def\booklettrue{}\def\letterpapertrue{}\input{gnus-refcard}'
mv gnus-refcard.dvi $@
## Everything not explicitly listed above.
%.dvi: %.tex
tex $<
## PostScript files.
## Note that some of the tex files (refcard, de-refcard, fr-refcard,
## pt-br-refcard) have settings for letter or a4 paper. Following are
## the default paper sizes (letter for English, A4 for translations).
## FIXME orgcard.ps does not fit on letter (see orgcard.tex).
## A4, landscape.
de-refcard.ps fr-refcard.ps pt-br-refcard.ps orgcard.ps: %.ps: %.dvi
dvips -t a4 -t landscape $< -o $@