annotate man/Makefile @ 120:cca96a509cfe r20-1b12

Import from CVS: tag r20-1b12
author cvs
date Mon, 13 Aug 2007 09:25:29 +0200
parents 7d55a9ba150c
children 8eaf7971accc
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
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
26 EMACS = xemacs
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
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
29 # NOTE: You *must* have a patched makeinfo-1.67 or later to rebuild the
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
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
32
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
33 .SUFFIXES: .info .texi .dvi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
34
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
35 # Subdirectories to make recursively.
120
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
36 SUBDIR = xemacs lispref new-users-guide internals tm auctex gnats
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
37
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
38 ../info/%.info : %.texi
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
39 -$(MAKEINFO) -o $@ $<
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
40
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 108
diff changeset
41 srcs = cc-mode cl custom ediff efs external-widget forms gnus \
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 108
diff changeset
42 hm--html-mode \
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 108
diff changeset
43 hyperbole ilisp info ispell mailcrypt message mh-e oo-browser \
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 108
diff changeset
44 pcl-cvs psgml psgml-api rmail standards supercite term \
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 108
diff changeset
45 termcap texinfo vhdl-mode viper vm w3 widget xemacs-faq
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
46
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
47 info = $(srcs:%=../info/%.info)
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
48 dvi = $(srcs:%=%.dvi)
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
49
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
50 special = # ../info/w3.info ../info/vm.info ../info/texinfo.info
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
51
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
52 all : info
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
53 info : $(info) $(special)
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
54 -for d in $(SUBDIR) ; do (cd $${d} && $(MAKE) $(MFLAGS) $@) ; done
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
55
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
56 xemacs: FORCE
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
57 -cd $@ && $(MAKE) $(MFLAGS)
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
58 lispref: FORCE
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
59 -cd $@ && $(MAKE) $(MFLAGS)
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
60 new-users-guide: FORCE
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
61 -cd $@ && $(MAKE) $(MFLAGS)
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
62 internals: FORCE
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
63 -cd $@ && $(MAKE) $(MFLAGS)
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
64 tm: FORCE
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
65 -cd $@ && $(MAKE) $(MFLAGS)
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
66 auctex: FORCE
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
67 -cd $@ && $(MAKE) $(MFLAGS)
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
68 FORCE :
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
69
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
70 ../info/w3.info : w3.texi
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
71 -$(MAKEINFO) w3.texi -o ../info/w3.info
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
72
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
73 ../info/texinfo.info : texinfo.texi
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
74 -$(MAKEINFO) texinfo.texi -o ../info/texinfo.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
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
77 ../info/vm.info : vm.texi
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
78 -$(EMACS) $(EMACSFLAGS) -insert vm.texi -l texinfmt \
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
79 -f texinfo-format-buffer -f save-buffer
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
80 -mv vm.info* ../info
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 100
diff changeset
81
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
82 PERL = perl
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
83 TEXI2DVI = texi2dvi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
84
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
85 gnus.dvi : gnus.texi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
86 $(PERL) -n -e 'print unless (/\@iflatex/ .. /\@end iflatex/)' gnus.texi > gnus.tmptexi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
87 $(TEXI2DVI) gnus.tmptexi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
88 rm -f gnus.tmptexi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
89
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
90 texinfo.dvi: texinfo.texi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
91 $(TEXI2DVI) $<
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
92 .texi.dvi:
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
93 $(TEXI2DVI) $<
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
94
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
95 dvi : $(dvi) FORCE
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
96 for d in $(SUBDIR) ; do (cd $${d} && $(MAKE) $(MFLAGS) $@) ; done
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
97
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
98 mostlyclean:
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
99 for d in $(SUBDIR) ; do (cd $${d} && $(MAKE) $(MFLAGS) $@) ; done
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
100 rm -f *.toc *.aux *.log \
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
101 *.cp *.cps *.fn *.fns *.ky *.kys *.pg *.pgs *.vr *.vrs *.tp *.tps
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
102 clean: mostlyclean
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
103 for d in $(SUBDIR) ; do (cd $${d} && $(MAKE) $(MFLAGS) $@) ; done
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
104 rm -f *.o core *.dvi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
105 distclean: clean
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
106 for d in $(SUBDIR) ; do (cd $${d} && $(MAKE) $(MFLAGS) $@) ; done
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
107 realclean: distclean
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
108 for d in $(SUBDIR) ; do (cd $${d} && $(MAKE) $(MFLAGS) $@) ; done
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
109 extraclean: distclean
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
110 for d in $(SUBDIR) ; do (cd $${d} && $(MAKE) $(MFLAGS) $@) ; done
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
111 -rm -f *~ \#*