annotate man/Makefile @ 219:262b8bb4a523 r20-4b8

Import from CVS: tag r20-4b8
author cvs
date Mon, 13 Aug 2007 10:09:35 +0200
parents d44af0c54775
children 2c611d1463a6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
1 # Makefile for man subdirectory in XEmacs
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
2 # Copyright (C) 1995 Board of Trustees, University of Illinois
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
3 # Copyright (C) 1994, 1995 Sun Microsystems.
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
4
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
5 # This file is part of XEmacs.
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
6
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
7 # XEmacs is free software; you can redistribute it and/or modify it
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
8 # under the terms of the GNU General Public License as published by the
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
9 # Free Software Foundation; either version 2, or (at your option) any
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
10 # later version.
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
11
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
12 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
15 # for more details.
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
16
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
17 # You should have received a copy of the GNU General Public License
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
18 # along with XEmacs; see the file COPYING. If not, write to
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
19 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
20 # Boston, MA 02111-1307, USA.
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
21
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
22 # Avoid trouble on systems where the "SHELL" variable might be
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
23 # inherited from the environment.
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
24 SHELL = /bin/sh
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
25
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
26 EMACS = ../src/xemacs
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
27 EMACSFLAGS = -batch -q -no-site-file
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
28
175
2d532a89d707 Import from CVS: tag r20-3b14
cvs
parents: 173
diff changeset
29 # NOTE: You *must* have makeinfo-1.68 or later to rebuild the
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
30 # info tree.
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
31 MAKEINFO = makeinfo
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
32 TEXI2DVI = texi2dvi
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
33
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
34 .SUFFIXES:
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
35 .SUFFIXES: .info .texi .dvi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
36
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
37 RECURSIVE_MAKE = $(MAKE) $(MFLAGS) MAKEINFO='$(MAKEINFO)' TEXI2DVI='$(TEXI2DVI)'
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
38
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
39 # Subdirectories to make recursively.
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
40 SUBDIR = xemacs lispref new-users-guide internals gnats skk
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
41
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
42 ../info/%.info : %.texi
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
43 -$(MAKEINFO) -o $@ $<
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
44
209
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
45 srcs = cl custom external-widget forms \
217
d44af0c54775 Import from CVS: tag r20-4b7
cvs
parents: 209
diff changeset
46 info \
d44af0c54775 Import from CVS: tag r20-4b7
cvs
parents: 209
diff changeset
47 standards term \
d44af0c54775 Import from CVS: tag r20-4b7
cvs
parents: 209
diff changeset
48 termcap texinfo widget xemacs-faq
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
49
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
50 info = $(srcs:%=../info/%.info)
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
51 dvi = $(srcs:%=%.dvi)
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
52
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
53 special = # ../info/w3.info ../info/vm.info ../info/texinfo.info
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
54
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
55 all : info
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
56 info : $(info) $(special)
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
57 -for d in $(SUBDIR) ; do (cd $${d} && $(RECURSIVE_MAKE) $@) ; done
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
58
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
59 xemacs: FRC.xemacs
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
60 -cd $@ && $(RECURSIVE_MAKE)
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
61 lispref: FRC.lispref
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
62 -cd $@ && $(RECURSIVE_MAKE)
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
63 new-users-guide: FRC.new-users-guide
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
64 -cd $@ && $(RECURSIVE_MAKE)
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
65 internals: FRC.internals
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
66 -cd $@ && $(RECURSIVE_MAKE)
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
67 tm: FRC.tm
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
68 -cd $@ && $(RECURSIVE_MAKE)
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
69 gnats: FRC.gnats
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
70 -cd $@ && $(RECURSIVE_MAKE)
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
71 FRC.xemacs FRC.lispref FRC.new-users-guide FRC.internals FRC.tm FRC.gnats:
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
72
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
73 ../info/w3.info : w3.texi
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
74 -$(MAKEINFO) w3.texi -o ../info/w3.info
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
75
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
76 ../info/texinfo.info : texinfo.texi
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
77 -$(MAKEINFO) texinfo.texi -o ../info/texinfo.info
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
78
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
79
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
80 ../info/vm.info : vm.texi
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
81 -$(EMACS) $(EMACSFLAGS) -insert vm.texi -l texinfmt \
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
82 -f texinfo-format-buffer -f save-buffer
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
83 -mv vm.info* ../info
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
84
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
85 texinfo.dvi: texinfo.texi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
86 $(TEXI2DVI) $<
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
87 .texi.dvi:
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
88 $(TEXI2DVI) $<
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
89
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
90 .PHONY: dvi
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
91 dvi : $(dvi)
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
92 for d in $(SUBDIR) ; do (cd $${d} && $(RECURSIVE_MAKE) $@) ; done
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
93
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 120
diff changeset
94 .PHONY: mostlyclean clean distclean realclean extraclean
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
95 mostlyclean:
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
96 for d in $(SUBDIR) ; do (cd $${d} && $(RECURSIVE_MAKE) $@) ; done
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
97 rm -f *.toc *.aux *.log \
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
98 *.cp *.cps *.fn *.fns *.ky *.kys *.pg *.pgs *.vr *.vrs *.tp *.tps
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
99 clean: mostlyclean
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
100 for d in $(SUBDIR) ; do (cd $${d} && $(RECURSIVE_MAKE) $@) ; done
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
101 rm -f *.o core *.dvi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
102 distclean: clean
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
103 for d in $(SUBDIR) ; do (cd $${d} && $(RECURSIVE_MAKE) $@) ; done
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
104 realclean: distclean
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
105 for d in $(SUBDIR) ; do (cd $${d} && $(RECURSIVE_MAKE) $@) ; done
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
106 extraclean: distclean
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 179
diff changeset
107 for d in $(SUBDIR) ; do (cd $${d} && $(RECURSIVE_MAKE) $@) ; done
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
108 -rm -f *~ \#*