Mercurial > emacs
comparison etc/Makefile @ 91015:b83d0dadb2a7
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 857-865)
- Update from CVS
- Merge from emacs--rel--22
- Update from CVS: lisp/emacs-lisp/avl-tree.el: New file.
- Remove RCS keywords
* 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--unicode--0--patch-252
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 29 Aug 2007 05:03:40 +0000 |
parents | f55f9811f5d7 5c8377e7c2c6 |
children |
comparison
equal
deleted
inserted
replaced
91014:2392e6a45952 | 91015:b83d0dadb2a7 |
---|---|
1 ### Makefile for Emacs etc/ directory | 1 ### Makefile for Emacs etc/ directory. |
2 | 2 |
3 ## Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, 2005, 2006, | 3 .PHONY: unlock relock |
4 ## 2007 Free Software Foundation, Inc. | |
5 | 4 |
6 ## This file is part of GNU Emacs. | 5 ## All non-directory files, if that matters. |
7 | 6 SOURCES = [A-Z]* *.* *-* e/* refcards/* tutorials/* \ |
8 ## GNU Emacs is free software; you can redistribute it and/or modify | 7 images/README images/*.* images/*/README images/*/*.* \ |
9 ## it under the terms of the GNU General Public License as published by | 8 images/*/*/README images/*/*/*.* |
10 ## the Free Software Foundation; either version 3, or (at your option) | |
11 ## any later version. | |
12 | |
13 ## GNU Emacs is distributed in the hope that it will be useful, | |
14 ## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 ## GNU General Public License for more details. | |
17 | |
18 ## You should have received a copy of the GNU General Public License | |
19 ## along with GNU Emacs; see the file COPYING. If not, write to the | |
20 ## Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
21 ## Boston, MA 02110-1301, USA. | |
22 | |
23 | |
24 ## Top-level targets. | |
25 | |
26 ## PS files included with Emacs. | |
27 all: refcards dired-refcards misc-refcards | |
28 | |
29 | |
30 refcards: refcard.ps cs-refcard.ps de-refcard.ps fr-refcard.ps \ | |
31 pl-refcard.ps pt-br-refcard.ps ru-refcard.ps sk-refcard.ps | |
32 | |
33 dired-refcards: dired-ref.ps cs-dired-ref.ps fr-drdref.ps sk-dired-ref.ps | |
34 | |
35 ## No PS files: vipcard.tex viperCard.tex survival.tex sk-survival.tex | |
36 misc-refcards: calccard.ps gnus-booklet.ps gnus-refcard.ps orgcard.ps | |
37 | |
38 ## Following PS files are not included with Emacs. | |
39 survival-cards: survival.ps cs-survival.ps sk-survival.ps | |
40 | |
41 viper-cards: vipcard.ps viperCard.ps | |
42 | |
43 | |
44 ## dvi files. | |
45 | |
46 ## FIXME the sk-*.tex files say to use csplain, but were not | |
47 ## traditionally in this rule. Fix the doc or the rule. | |
48 cs-refcard.dvi cs-dired-ref.dvi cs-survival.dvi: %.dvi: %.tex | |
49 csplain $< | |
50 | |
51 pl-refcard.dvi: %.dvi: %.tex | |
52 if ! kpsewhich -format=fmt mex > /dev/null; then \ | |
53 echo "No mex format found."; false; \ | |
54 fi | |
55 tex $< | |
56 | |
57 ru-refcard.dvi gnus-refcard.dvi: %.dvi: %.tex | |
58 latex $< | |
59 | |
60 gnus-booklet.dvi: gnus-refcard.tex | |
61 latex '\def\booklettrue{}\def\letterpapertrue{}\input{gnus-refcard}' | |
62 mv gnus-refcard.dvi $@ | |
63 | |
64 ## Everything not explicitly listed above. | |
65 %.dvi: %.tex | |
66 tex $< | |
67 | |
68 | |
69 ## PostScript files. | |
70 | |
71 ## Note that some of the tex files (refcard, de-refcard, fr-refcard, | |
72 ## pt-br-refcard) have settings for letter or a4 paper. Following are | |
73 ## the default paper sizes (letter for English, A4 for translations). | |
74 ## FIXME orgcard.ps does not fit on letter (see orgcard.tex). | |
75 | |
76 ## A4, landscape. | |
77 de-refcard.ps fr-refcard.ps pt-br-refcard.ps orgcard.ps: %.ps: %.dvi | |
78 dvips -t a4 -t landscape $< -o $@ | |
79 | |
80 ## A4, portrait. | |
81 cs-dired-ref.ps cs-refcard.ps cs-survival.ps fr-drdref.ps \ | |
82 pl-refcard.ps ru-refcard.ps \ | |
83 sk-dired-ref.ps sk-refcard.ps sk-survival.ps: %.ps: %.dvi | |
84 dvips -t a4 $< -o $@ | |
85 | |
86 ## letter, landscape. | |
87 calccard.ps refcard.ps: %.ps: %.dvi | |
88 dvips -t letter -t landscape $< -o $@ | |
89 | |
90 ## letter, portrait. | |
91 dired-ref.ps gnus-booklet.ps gnus-refcard.ps survival.ps vipcard.ps \ | |
92 viperCard.ps: %.ps: %.dvi | |
93 dvips -t letter $< -o $@ | |
94 | |
95 | |
96 .PHONY: mostlyclean clean distclean maintainer-clean unlock relock | |
97 | |
98 mostlyclean: | |
99 -rm -f *.dvi *.log | |
100 | |
101 ## Note does not delete generated ps files. | |
102 clean distclean maintainer-clean: mostlyclean | |
103 -rm -f DOC* | |
104 | |
105 | |
106 SOURCES = [0-9A-QS-Z]* README *.[ch16] emacs.* ms-* \ | |
107 spook-lines termcap.* *.tex | |
108 | 9 |
109 unlock: | 10 unlock: |
110 chmod u+w $(SOURCES) | 11 chmod u+w $(SOURCES) |
111 | 12 |
112 relock: | 13 relock: |
113 chmod u-w $(SOURCES) | 14 chmod u-w $(SOURCES) |
114 | 15 |
115 # ${etcdir}/e/eterm-color is used by ../lisp/term.el. | 16 ## See e/README. |
116 # TERMINFO systems use terminfo files compiled by the Terminfo Compiler (tic). | |
117 # These files are binary, and depend on the version of tic, but they seem | |
118 # to be system-independent and backwardly compatible. | |
119 # So there should be no need to recompile the distributed binary version. | |
120 TIC=tic | 17 TIC=tic |
121 e/eterm-color: e/eterm-color.ti | 18 e/eterm-color: e/eterm-color.ti |
122 TERMINFO=`pwd`; export TERMINFO; $(TIC) e/eterm-color.ti | 19 TERMINFO=`pwd`; export TERMINFO; $(TIC) e/eterm-color.ti |
123 | 20 |
124 | |
125 ## arch-tag: 4261f003-cf77-4478-a10a-5284e9d8f797 | 21 ## arch-tag: 4261f003-cf77-4478-a10a-5284e9d8f797 |
126 ### Makefile ends here | 22 ### Makefile ends here |