Mercurial > emacs
annotate etc/refcards/Makefile @ 82882:be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
author | Michaël Cadilhac <michael.cadilhac@lrde.org> |
---|---|
date | Sun, 26 Aug 2007 21:04:07 +0000 |
parents | fca0f0f8d997 |
children | 35543e5c37a8 |
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 |
82882
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
26 ## PDF files that are included with Emacs. |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
27 all: refcards_pdf dired-refcards_pdf misc-refcards_pdf |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
28 |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
29 REFCARDS_PDF = refcard.pdf cs-refcard.pdf de-refcard.pdf fr-refcard.pdf \ |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
30 pl-refcard.pdf pt-br-refcard.pdf ru-refcard.pdf sk-refcard.pdf |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
31 refcards_pdf: ${REFCARDS_PDF} |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
32 refcards_ps: ${REFCARDS_PDF:.pdf=.ps} |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
33 |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
34 DIRED-REFCARDS_PDF = dired-ref.pdf cs-dired-ref.pdf fr-drdref.pdf sk-dired-ref.pdf |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
35 dired-refcards_pdf: ${DIRED-REFCARDS_PDF} |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
36 dired-refcards_ps: ${DIRED-REFCARDS_PDF:.pdf=.ps} |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
37 |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
38 MISC-REFCARDS_PDF = calccard.pdf gnus-booklet.pdf gnus-refcard.pdf orgcard.pdf |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
39 misc-refcards_pdf: ${MISC-REFCARDS_PDF} |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
40 misc-refcards_ps: ${MISC-REFCARDS_PDF:.pdf=.ps} |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
41 |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
42 |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
43 ## The following files are not included with Emacs. |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
44 SURVIVAL-CARDS_PDF = survival.pdf cs-survival.pdf sk-survival.pdf |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
45 survival-cards_pdf: ${SURVIVAL-CARDS_PDF} |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
46 survival-cards_ps: ${SURVIVAL-CARDS_PDF:.pdf=.ps} |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
47 |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
48 VIPER-CARDS_PDF = vipcard.pdf viperCard.pdf |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
49 viper-cards_pdf: ${VIPER-CARDS_PDF} |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
50 viper-cards_ps: ${VIPER-CARDS_PDF:.pdf=.ps} |
82746
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
51 |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
52 |
82882
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
53 ## PDF files. |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
54 |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
55 ## The page layouts (a4/letter) are written directly in the .tex files. |
82746
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
56 |
82882
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
57 cs-refcard.pdf cs-dired-ref.pdf cs-survival.pdf sk-refcard.pdf \ |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
58 sk-dired-ref.pdf sk-survival.pdf: %.pdf: %.tex |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
59 csplain "\pdfoutput=1\input $<" |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
60 |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
61 pl-refcard.pdf: %.pdf: %.tex |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
62 if ! kpsewhich -format=fmt mex > /dev/null; then \ |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
63 echo "No mex format found."; false; \ |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
64 fi |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
65 pdftex $< |
82746
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
66 |
82882
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
67 ru-refcard.pdf: %.pdf: %.tex |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
68 pdflatex $< |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
69 |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
70 gnus-logo.pdf: %.pdf: %.eps |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
71 ps2pdf $< |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
72 |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
73 gnus-refcard.pdf: %.pdf: %.tex gnus-logo.pdf |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
74 pdflatex $< |
82746
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
75 |
82882
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
76 gnus-booklet.pdf: gnus-refcard.tex gnus-logo.pdf |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
77 pdflatex '\def\booklettrue{}\def\letterpapertrue{}\input{gnus-refcard}' |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
78 mv gnus-refcard.pdf $@ |
82746
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
79 |
82882
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
80 ## Everything not explicitly listed above. |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
81 %.pdf: %.tex |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
82 pdftex $< |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
83 |
82746
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
84 |
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 ## dvi files. |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
87 |
82882
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
88 cs-refcard.dvi cs-dired-ref.dvi cs-survival.dvi sk-refcard.dvi \ |
be81e9cf2d8e
Add rules for creating the refcards in PDF, make them the default.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82746
diff
changeset
|
89 sk-dired-ref.dvi sk-survival.dvi: %.dvi: %.tex |
82746
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
90 csplain $< |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
91 |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
92 pl-refcard.dvi: %.dvi: %.tex |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
93 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
|
94 echo "No mex format found."; false; \ |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
95 fi |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
96 tex $< |
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 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
|
99 latex $< |
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 gnus-booklet.dvi: gnus-refcard.tex |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
102 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
|
103 mv gnus-refcard.dvi $@ |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
104 |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
105 ## Everything not explicitly listed above. |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
106 %.dvi: %.tex |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
107 tex $< |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
108 |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
109 |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
110 ## PostScript files. |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
111 |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
112 ## 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
|
113 ## 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
|
114 ## 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
|
115 ## 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
|
116 |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
117 ## A4, landscape. |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
118 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
|
119 dvips -t a4 -t landscape $< -o $@ |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
120 |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
121 ## A4, portrait. |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
122 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
|
123 pl-refcard.ps ru-refcard.ps \ |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
124 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
|
125 dvips -t a4 $< -o $@ |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
126 |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
127 ## letter, landscape. |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
128 calccard.ps refcard.ps: %.ps: %.dvi |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
129 dvips -t letter -t landscape $< -o $@ |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
130 |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
131 ## letter, portrait. |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
132 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
|
133 viperCard.ps: %.ps: %.dvi |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
134 dvips -t letter $< -o $@ |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
135 |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
136 |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
137 .PHONY: clean |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
138 |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
139 clean: |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
140 -rm -f *.dvi *.log |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
141 |
fca0f0f8d997
New file, with existing refcard rules from etc/Makefile.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
142 ### Makefile ends here |