annotate etc/refcards/Makefile @ 82784:54b437841f58

Add arch tagline
author Miles Bader <miles@gnu.org>
date Thu, 23 Aug 2007 09:04:41 +0000
parents fca0f0f8d997
children be81e9cf2d8e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
82746
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 ### Makefile for Emacs refcards
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
3 ## Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, 2005, 2006,
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
4 ## 2007 Free Software Foundation, Inc.
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6 ## This file is part of GNU Emacs.
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
7
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
8 ## GNU Emacs is free software; you can redistribute it and/or modify
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
9 ## it under the terms of the GNU General Public License as published by
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
10 ## the Free Software Foundation; either version 3, or (at your option)
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
11 ## any later version.
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
12
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
13 ## GNU Emacs is distributed in the hope that it will be useful,
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
14 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
16 ## GNU General Public License for more details.
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
17
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
18 ## You should have received a copy of the GNU General Public License
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
19 ## along with GNU Emacs; see the file COPYING. If not, write to the
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
20 ## Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
21 ## Boston, MA 02110-1301, USA.
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
22
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
23
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
24 ## Top-level targets.
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
25
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
26 ## PS files included with Emacs.
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
27 all: refcards dired-refcards misc-refcards
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
28
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
29
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
30 refcards: refcard.ps cs-refcard.ps de-refcard.ps fr-refcard.ps \
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
31 pl-refcard.ps pt-br-refcard.ps ru-refcard.ps sk-refcard.ps
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
32
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
33 dired-refcards: dired-ref.ps cs-dired-ref.ps fr-drdref.ps sk-dired-ref.ps
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
35 ## No PS files: vipcard.tex viperCard.tex survival.tex sk-survival.tex
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
36 misc-refcards: calccard.ps gnus-booklet.ps gnus-refcard.ps orgcard.ps
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
37
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
38 ## Following PS files are not included with Emacs.
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
39 survival-cards: survival.ps cs-survival.ps sk-survival.ps
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41 viper-cards: vipcard.ps viperCard.ps
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
43
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
44 ## dvi files.
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46 ## FIXME the sk-*.tex files say to use csplain, but were not
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47 ## traditionally in this rule. Fix the doc or the rule.
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48 cs-refcard.dvi cs-dired-ref.dvi cs-survival.dvi: %.dvi: %.tex
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49 csplain $<
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
51 pl-refcard.dvi: %.dvi: %.tex
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
52 if ! kpsewhich -format=fmt mex > /dev/null; then \
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53 echo "No mex format found."; false; \
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54 fi
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55 tex $<
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
56
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57 ru-refcard.dvi gnus-refcard.dvi: %.dvi: %.tex
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58 latex $<
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 gnus-booklet.dvi: gnus-refcard.tex
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 latex '\def\booklettrue{}\def\letterpapertrue{}\input{gnus-refcard}'
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62 mv gnus-refcard.dvi $@
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64 ## Everything not explicitly listed above.
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65 %.dvi: %.tex
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 tex $<
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 ## PostScript files.
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 ## Note that some of the tex files (refcard, de-refcard, fr-refcard,
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 ## pt-br-refcard) have settings for letter or a4 paper. Following are
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 ## the default paper sizes (letter for English, A4 for translations).
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 ## FIXME orgcard.ps does not fit on letter (see orgcard.tex).
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 ## A4, landscape.
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 de-refcard.ps fr-refcard.ps pt-br-refcard.ps orgcard.ps: %.ps: %.dvi
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78 dvips -t a4 -t landscape $< -o $@
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 ## A4, portrait.
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
81 cs-dired-ref.ps cs-refcard.ps cs-survival.ps fr-drdref.ps \
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82 pl-refcard.ps ru-refcard.ps \
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
83 sk-dired-ref.ps sk-refcard.ps sk-survival.ps: %.ps: %.dvi
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
84 dvips -t a4 $< -o $@
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
85
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
86 ## letter, landscape.
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
87 calccard.ps refcard.ps: %.ps: %.dvi
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
88 dvips -t letter -t landscape $< -o $@
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
89
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
90 ## letter, portrait.
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
91 dired-ref.ps gnus-booklet.ps gnus-refcard.ps survival.ps vipcard.ps \
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
92 viperCard.ps: %.ps: %.dvi
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
93 dvips -t letter $< -o $@
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
94
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
95
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
96 .PHONY: clean
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
97
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
98 clean:
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
99 -rm -f *.dvi *.log
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
100
fca0f0f8d997 New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
101 ### Makefile ends here