8
|
1 # Makefile for TM manual
|
|
2
|
|
3 # This file is part of XEmacs.
|
|
4
|
|
5 # XEmacs is free software; you can redistribute it and/or modify it
|
|
6 # under the terms of the GNU General Public License as published by the
|
|
7 # Free Software Foundation; either version 2, or (at your option) any
|
|
8 # later version.
|
|
9
|
|
10 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
|
|
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
13 # for more details.
|
|
14
|
|
15 # You should have received a copy of the GNU General Public License
|
|
16 # along with XEmacs; see the file COPYING. If not, write to
|
|
17 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
18 # Boston, MA 02111-1307, USA.
|
|
19
|
78
|
20 # The japanese texinfo files requires the very latest 20.0 xemacs
|
|
21 EMACS = xemacs
|
74
|
22 NAMES = tm tm-edit tm-view gnus-mime tm-mh-e
|
78
|
23 NAMES_EN = $(NAMES:%=%-en) tm-vm-en
|
74
|
24 NAMES_JA = $(NAMES:%=%-ja)
|
|
25 NAMES_ALL = $(NAMES_EN) $(NAMES_JA)
|
78
|
26 #NAMES_ALL = $(NAMES_EN)
|
74
|
27 INFOS = $(NAMES_ALL:%=../../info/%.info)
|
78
|
28 DVIS = $(NAMES_EN:%=%.dvi)
|
8
|
29
|
|
30 TEXI2DVI = texi2dvi
|
|
31
|
|
32 # List of all the texinfo files in the manual:
|
|
33
|
|
34 all : info
|
|
35 info : $(INFOS)
|
|
36
|
78
|
37 ../../info/%-en.info : %-en.texi
|
70
|
38 makeinfo -o $@ $<
|
12
|
39
|
78
|
40 ../../info/%-ja.info : %-ja.texi
|
|
41 $(EMACS) -batch -q -no-site-file $< -eval '(cd "../../info")' \
|
|
42 -l texinfmt -f texinfo-format-buffer \
|
88
|
43 -eval '(setq file-coding-system (quote iso-2022-7))' \
|
|
44 -eval '(save-buffer 0)'
|
78
|
45
|
8
|
46 dvi: $(DVIS)
|
|
47 .texi.dvi :
|
|
48 $(TEXI2DVI) $<
|
|
49
|
173
|
50 .PHONY: mostlyclean clean distclean realclean extraclean
|
8
|
51 mostlyclean:
|
|
52 rm -f *.toc *.aux *.oaux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
|
|
53 *.vr *.vrs *.pg *.pgs *.ky *.kys
|
|
54 clean: mostlyclean
|
|
55 rm -f *.dvi *.ps make.out core
|
|
56 distclean: clean
|
|
57 realclean: clean
|
|
58 extraclean: clean
|
|
59 -rm -f *~ \#*
|