Mercurial > emacs
annotate lispref/Makefile.in @ 26902:264b83a3a688
Changes for separate unspecified foreground and background colors
on character terminals:
* dispextern.h (FACE_TTY_DEFAULT_FG_COLOR)
(FACE_TTY_DEFAULT_BG_COLOR): New macros.
* xfaces.c (Qunspecified_fg, Qunspecified_bg): New variables.
(syms_of_xfaces): Initialize and staticpro them.
(tty_defined_color): If the color name is unspecified-fg or
unspecified-bg, return FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR, respectively, as the pixel value.
(tty_color_name): If the color pixel value is either
FACE_TTY_DEFAULT_FG_COLOR or FACE_TTY_DEFAULT_BG_COLOR, return
Qunspecified_fg or Qunspecified_bg, respectively.
(Finternal_set_lisp_face_attribute): Allow values Qunspecified_fg
and Qunspecified_bg for foreground and background colors.
(realize_default_face): If the foreground and background colors
are not specified, default to Qunspecified_fg and Qunspecified_bg.
(realize_tty_face): By default, set the face colors to
FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR.
[MSDOS]: Handle FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR when face colors are not defined.
Reverse the colors if the default colors were reversed.
* dispnew.c (init_display): Initialize the frame pixels of the
initial frame to FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR.
* term.c (turn_on_face): If the default fore- and background
colors are reversed, enter inverse video mode. Don't send color
escape sequences for unspecified foreground and background colors.
(turn_off_face): Handle unspecified-fg and unspecified-bg colors.
* dosfns.c (unspecified_colors): New variable.
(msdos_stdcolor_idx): Handle unspecified-fg and unspecified-bg
color names, return FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR, respectively.
(msdos_stdcolor_name): Handle FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR, return Qunspecified_fg and
Qunspecified_bg, respectively.
* msdos.c (IT_set_face): Support FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR as pixel values.
* faces.el (face-read-integer, read-face-attribute)
(color-defined-p, color-values): Allow color values unspecified-fg
and unspecified-bg, handle them as unspecified.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Wed, 15 Dec 1999 13:14:38 +0000 |
parents | dbf1e3aaa767 |
children | 362fea0e7c8b |
rev | line source |
---|---|
6558 | 1 # Makefile for the GNU Emacs Lisp Reference Manual. |
2 # | |
3 # 11 August 1990 | |
4 | |
5 # Redefine `TEX' if `tex' does not invoke plain TeX. For example: | |
6 # TEX=platex | |
7 | |
8 TEX=tex | |
14936
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
9 MAKE=make |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
10 SHELL=/bin/sh |
22456
b7bf9b05f494
(INSTALL_INFO): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
22014
diff
changeset
|
11 INSTALL_INFO = install-info |
26694 | 12 MAKEINFO=makeinfo |
6558 | 13 |
14 # Where the TeX macros are kept: | |
15 texmacrodir = /usr/local/lib/tex/macros | |
16 | |
23150 | 17 # Standard configure variables. |
18 prefix = @prefix@ | |
19 infodir = @infodir@ | |
6558 | 20 |
21 # The name of the manual: | |
22 | |
25750 | 23 VERSION=2.6 |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
24 manual = elisp-manual-20-$(VERSION) |
6558 | 25 |
26 # Uncomment this line for permuted index. | |
27 # permuted_index = 1 | |
28 | |
29 # List of all the texinfo files in the manual: | |
30 | |
31 srcs = elisp.texi back.texi \ | |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
32 abbrevs.texi advice.texi anti.texi backups.texi locals.texi buffers.texi \ |
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
33 calendar.texi commands.texi compile.texi control.texi customize.texi \ |
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
34 debugging.texi display.texi edebug.texi errors.texi eval.texi files.texi \ |
25750 | 35 frames.texi functions.texi hash.texi help.texi hooks.texi \ |
6558 | 36 internals.texi intro.texi keymaps.texi lists.texi \ |
37 loading.texi macros.texi maps.texi markers.texi \ | |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
38 minibuf.texi modes.texi nonascii.texi numbers.texi objects.texi \ |
6558 | 39 os.texi positions.texi processes.texi searching.texi \ |
40 sequences.texi streams.texi strings.texi symbols.texi \ | |
41 syntax.texi text.texi tips.texi variables.texi \ | |
42 windows.texi \ | |
43 index.unperm index.perm | |
44 | |
45 .PHONY: elisp.dvi clean | |
46 | |
14936
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
47 # The info file is named `elisp'. |
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
48 |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
49 elisp: $(srcs) index.texi |
14936
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
50 rm -f elisp-* |
26694 | 51 $(MAKEINFO) elisp.texi |
14936
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
52 |
21913
e9cc81bc8d9a
(elisp.dvi): Don't depend on texindex or on elisp.tps.
Richard M. Stallman <rms@gnu.org>
parents:
21644
diff
changeset
|
53 elisp.dvi: $(srcs) index.texi |
6558 | 54 # Avoid losing old contents of aux file entirely. |
55 -mv elisp.aux elisp.oaux | |
56 # First shot to define xrefs: | |
57 $(TEX) elisp.texi | |
58 if [ a${permuted_index} != a ]; \ | |
59 then \ | |
60 ./permute-index; \ | |
22014
9c5897743b4f
(elisp.dvi): Add missing backslash.
Richard M. Stallman <rms@gnu.org>
parents:
21913
diff
changeset
|
61 mv permuted.fns elisp.fns; \ |
21913
e9cc81bc8d9a
(elisp.dvi): Don't depend on texindex or on elisp.tps.
Richard M. Stallman <rms@gnu.org>
parents:
21644
diff
changeset
|
62 texindex elisp.tp; \ |
6558 | 63 else \ |
21913
e9cc81bc8d9a
(elisp.dvi): Don't depend on texindex or on elisp.tps.
Richard M. Stallman <rms@gnu.org>
parents:
21644
diff
changeset
|
64 texindex elisp.??; \ |
6558 | 65 fi |
66 $(TEX) elisp.texi | |
67 | |
68 index.texi: | |
69 if [ a${permuted_index} != a ]; \ | |
70 then \ | |
25700
fed6ebbe8644
(index.texi): If cannot make a symlink, make a hard link.
Richard M. Stallman <rms@gnu.org>
parents:
23150
diff
changeset
|
71 ln -s index.perm index.texi || ln index.perm index.texi; \ |
6558 | 72 else \ |
25700
fed6ebbe8644
(index.texi): If cannot make a symlink, make a hard link.
Richard M. Stallman <rms@gnu.org>
parents:
23150
diff
changeset
|
73 ln -s index.unperm index.texi || ln index.unperm index.texi; \ |
6558 | 74 fi |
75 | |
14936
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
76 install: elisp |
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
77 ./mkinstalldirs $(infodir) |
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
78 cp elisp elisp-* $(infodir) |
22456
b7bf9b05f494
(INSTALL_INFO): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
22014
diff
changeset
|
79 ${INSTALL_INFO} --dir-file=${infodir}/dir --info-file=${infodir}/elisp |
6558 | 80 |
81 installall: install | |
82 install -c texinfo.tex $(texmacrodir) | |
83 | |
84 clean: | |
85 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ | |
86 *.vr *.vrs *.pg *.pgs *.ky *.kys | |
87 rm -f make.out core | |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
88 rm -f index.texi |
6558 | 89 |
12317
6236bdeec18d
(VERSION): Update version number.
Richard M. Stallman <rms@gnu.org>
parents:
12112
diff
changeset
|
90 maintainer-clean: clean |
12112 | 91 rm -f elisp elisp-* |
92 | |
6558 | 93 dist: |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
94 -rm -rf temp |
6558 | 95 -mkdir temp |
96 -mkdir temp/$(manual) | |
23150 | 97 -ln README configure.in configure Makefile.in permute-index $(srcs) \ |
98 texinfo.tex elisp.dvi elisp.aux elisp.??s elisp elisp-[0-9] elisp-[0-9][0-9] \ | |
99 temp/$(manual) | |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
100 -(cd temp/$(manual); rm -f mkinstalldirs) |
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
101 cp mkinstalldirs temp/$(manual) |
6558 | 102 (cd temp/$(manual); rm -f *~) |
103 (cd temp; tar chf - $(manual)) | gzip > $(manual).tar.gz | |
104 -rm -rf temp |