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
|
70
|
20 NAMES = tm_en gnus-mime_en tm-mh-e_en
|
|
21 INFOS = $(NAMES:%=../../info/%.info)
|
|
22 DVIS = $(NAMES:%=%.dvi)
|
8
|
23
|
|
24 TEXI2DVI = texi2dvi
|
|
25
|
|
26 # List of all the texinfo files in the manual:
|
|
27
|
70
|
28 srcs = tm-edit-en.texi tm-ew-d=en.texi tm-ew=en.texi tm-util=en.texi \
|
|
29 tm-view-a=en.texi tm-view-cb=en.texi tm-view-ch=en.texi tm-view-cs=en.texi \
|
|
30 tm-view-m=en.texi tm-view-p=en.texi tm-view=en.texi tm-en.texi
|
|
31
|
8
|
32 all : info
|
|
33 info : $(INFOS)
|
|
34
|
70
|
35 ../../info/tm_en.info : $(srcs)
|
8
|
36
|
70
|
37 ../../info/%.info : %.texi
|
|
38 makeinfo -o $@ $<
|
12
|
39
|
8
|
40 dvi: $(DVIS)
|
|
41 .texi.dvi :
|
|
42 $(TEXI2DVI) $<
|
|
43
|
|
44 mostlyclean:
|
|
45 rm -f *.toc *.aux *.oaux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
|
|
46 *.vr *.vrs *.pg *.pgs *.ky *.kys
|
|
47 clean: mostlyclean
|
|
48 rm -f *.dvi *.ps make.out core
|
|
49 distclean: clean
|
|
50 realclean: clean
|
|
51 extraclean: clean
|
|
52 -rm -f *~ \#*
|