annotate man/Makefile @ 50:ee648375d8d6 r19-16b91

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