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
|
|
20 #### This makefile is currently broken!
|
|
21 #### makeinfo doesn't work with these .texi files!
|
|
22 NAMES = tm tm-edit tm-view gnus-mime tm-mh-e
|
|
23 NAMES_EN = $(NAMES:%=%-en)
|
|
24 NAMES_JA = $(NAMES:%=%-ja)
|
|
25 NAMES_ALL = $(NAMES_EN) $(NAMES_JA)
|
|
26 INFOS = $(NAMES_ALL:%=../../info/%.info)
|
|
27 DVIS = $(NAMES_ALL:%=%.dvi)
|
|
28
|
|
29 TEXI2DVI = texi2dvi
|
|
30
|
|
31 # List of all the texinfo files in the manual:
|
|
32
|
|
33 all : info
|
|
34 info : $(INFOS)
|
|
35
|
|
36 ../../info/%.info : %.texi
|
|
37 makeinfo -o $@ $<
|
|
38
|
|
39 dvi: $(DVIS)
|
|
40 .texi.dvi :
|
|
41 $(TEXI2DVI) $<
|
|
42
|
|
43 mostlyclean:
|
|
44 rm -f *.toc *.aux *.oaux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
|
|
45 *.vr *.vrs *.pg *.pgs *.ky *.kys
|
|
46 clean: mostlyclean
|
|
47 rm -f *.dvi *.ps make.out core
|
|
48 distclean: clean
|
|
49 realclean: clean
|
|
50 extraclean: clean
|
|
51 -rm -f *~ \#*
|