annotate man/Makefile @ 306:9ea74add5d37 r21-0b51

Import from CVS: tag r21-0b51
author cvs
date Mon, 13 Aug 2007 10:41:58 +0200
parents 7df0dd720c89
children 74fd4e045ea6
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
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
39 # Ughhh! The things we do to have portable makefiles...
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
40
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
41 INFODIR = ../info
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
42
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
43 info_files = \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
44 $(INFODIR)/cl.info \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
45 $(INFODIR)/custom.info \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
46 $(INFODIR)/external-widget.info \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
47 $(INFODIR)/info.info \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
48 $(INFODIR)/standards.info \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
49 $(INFODIR)/term.info \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
50 $(INFODIR)/termcap.info \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
51 $(INFODIR)/texinfo.info \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
52 $(INFODIR)/widget.info \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
53 $(INFODIR)/xemacs-faq.info
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
54
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
55 dvi_files = \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
56 cl.dvi \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
57 custom.dvi \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
58 external-widget.dvi \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
59 info.dvi \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
60 standards.dvi \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
61 term.dvi \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
62 termcap.dvi \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
63 texinfo.dvi \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
64 widget.dvi \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
65 xemacs-faq.dvi
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
66
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
67 ../info/cl.info : cl.texi
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
68 -$(MAKEINFO) cl.texi -o ../info/cl.info
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
69
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
70 ../info/custom.info : custom.texi
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
71 -$(MAKEINFO) custom.texi -o ../info/custom.info
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
72
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
73 ../info/external-widget.info : external-widget.texi
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
74 -$(MAKEINFO) external-widget.texi -o ../info/external-widget.info
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
75
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
76 ../info/info.info : info.texi
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
77 -$(MAKEINFO) info.texi -o ../info/info.info
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
78
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
79 ../info/standards.info : standards.texi
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
80 -$(MAKEINFO) standards.texi -o ../info/standards.info
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
81
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
82 ../info/term.info : term.texi
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
83 -$(MAKEINFO) term.texi -o ../info/term.info
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
84
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
85 ../info/termcap.info : termcap.texi
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
86 -$(MAKEINFO) termcap.texi -o ../info/termcap.info
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
87
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
88 ../info/texinfo.info : texinfo.texi
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
89 -$(MAKEINFO) texinfo.texi -o ../info/texinfo.info
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
90
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
91 ../info/widget.info : widget.texi
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
92 -$(MAKEINFO) widget.texi -o ../info/widget.info
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
93
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
94 ../info/xemacs-faq.info : xemacs-faq.texi
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
95 -$(MAKEINFO) xemacs-faq.texi -o ../info/xemacs-faq.info
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
96
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
97
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
98 # ../info/w3.info : w3.texi
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
99 # -$(MAKEINFO) w3.texi -o ../info/w3.info
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
100
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
101 # ../info/vm.info : vm.texi
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
102 # -$(EMACS) $(EMACSFLAGS) -insert vm.texi -l texinfmt \
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
103 # -f texinfo-format-buffer -f save-buffer
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
104 # -mv vm.info* ../info
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
105
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
106 # special = # ../info/w3.info ../info/vm.info ../info/texinfo.info
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
107
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
108 all: info
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
109
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
110 # Subdirectories to make recursively.
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
111 SUBDIR = xemacs lispref new-users-guide internals
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
112 .PHONY: $(SUBDIR)
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
113
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
114 info : $(info_files)
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
115 -for d in $(SUBDIR) ; do (cd ./$$d && $(RECURSIVE_MAKE) $@) ; done
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
116
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
117 .PHONY: info dvi
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
118
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
119 xemacs: FRC.xemacs
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
120 -cd ./$@ && $(RECURSIVE_MAKE)
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
121 lispref: FRC.lispref
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
122 -cd ./$@ && $(RECURSIVE_MAKE)
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
123 new-users-guide: FRC.new-users-guide
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
124 -cd ./$@ && $(RECURSIVE_MAKE)
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
125 internals: FRC.internals
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
126 -cd ./$@ && $(RECURSIVE_MAKE)
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
127 # tm: FRC.tm
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
128 # -cd ./$@ && $(RECURSIVE_MAKE)
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
129 # gnats: FRC.gnats
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
130 # -cd ./$@ && $(RECURSIVE_MAKE)
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
131 # FRC.xemacs FRC.lispref FRC.new-users-guide FRC.internals FRC.tm FRC.gnats:
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
132 FRC.info FRC.dvi FRC.xemacs FRC.lispref FRC.new-users-guide FRC.internals:
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
133
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
134
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
135 .texi.dvi:
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
136 $(TEXI2DVI) $<
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
137
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
138 dvi : $(dvi_files)
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
139 -for d in $(SUBDIR) ; do (cd ./$${d} && $(RECURSIVE_MAKE) $@) ; done
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
140
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
141
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 120
diff changeset
142 .PHONY: mostlyclean clean distclean realclean extraclean
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
143 mostlyclean:
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
144 -for d in $(SUBDIR) ; do (cd ./$${d} && $(RECURSIVE_MAKE) $@) ; done
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
145 rm -f *.toc *.aux *.log *.op \
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
146 *.cp *.cps *.fn *.fns *.ky *.kys *.pg *.pgs *.vr *.vrs *.tp *.tps
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
147 clean: mostlyclean
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
148 -for d in $(SUBDIR) ; do (cd ./$${d} && $(RECURSIVE_MAKE) $@) ; done
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
149 rm -f *.o core *.dvi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
150 distclean: clean
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
151 -for d in $(SUBDIR) ; do (cd ./$${d} && $(RECURSIVE_MAKE) $@) ; done
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
152 realclean: distclean
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
153 -for d in $(SUBDIR) ; do (cd ./$${d} && $(RECURSIVE_MAKE) $@) ; done
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
154 extraclean: distclean
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 229
diff changeset
155 -for d in $(SUBDIR) ; do (cd ./$${d} && $(RECURSIVE_MAKE) $@) ; done
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
156 -rm -f *~ \#*