annotate man/Makefile @ 16:0293115a14e9 r19-15b91

Import from CVS: tag r19-15b91
author cvs
date Mon, 13 Aug 2007 08:49:20 +0200
parents 49a24b4fd526
children 8fc7fe29b841
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
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
26 .SUFFIXES: .info .texi .dvi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
27
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
28 # Subdirectories to make recursively.
10
49a24b4fd526 Import from CVS: tag r19-15b6
cvs
parents: 8
diff changeset
29 SUBDIR = xemacs lispref new-users-guide internals tm
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
30
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
31 ../info/%.info : %.texi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
32 makeinfo -o $@ $<
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
33
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
34 # hyperbole and oo-browser manuals broken - do not TeX properly
16
0293115a14e9 Import from CVS: tag r19-15b91
cvs
parents: 10
diff changeset
35 srcs = ange-ftp cc-mode cl custom dired ediff external-widget forms gnus \
10
49a24b4fd526 Import from CVS: tag r19-15b6
cvs
parents: 8
diff changeset
36 hyperbole ilisp info ispell mailcrypt message mh-e oo-browser \
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
37 pcl-cvs psgml psgml-api rmail standards supercite term \
16
0293115a14e9 Import from CVS: tag r19-15b91
cvs
parents: 10
diff changeset
38 termcap texinfo vhdl-mode viper vm w3 widget xemacs-faq
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
39
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
40 info = $(srcs:%=../info/%.info)
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
41 dvi = $(srcs:%=%.dvi)
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
42
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
43 all : info
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
44 info : $(info)
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
45 for d in $(SUBDIR) ; do (cd $${d} && $(MAKE) $(MFLAGS) $@) ; done
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
46
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
47 xemacs: FORCE
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
48 cd $@ && $(MAKE) $(MFLAGS)
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
49 lispref: FORCE
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
50 cd $@ && $(MAKE) $(MFLAGS)
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
51 new-users-guide: FORCE
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
52 cd $@ && $(MAKE) $(MFLAGS)
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
53 internals: FORCE
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
54 cd $@ && $(MAKE) $(MFLAGS)
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
55 tm: FORCE
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
56 cd $@ && $(MAKE) $(MFLAGS)
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
57 FORCE :
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
58
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
59 PERL = perl
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
60 TEXI2DVI = texi2dvi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
61
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
62 gnus.dvi : gnus.texi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
63 $(PERL) -n -e 'print unless (/\@iflatex/ .. /\@end iflatex/)' gnus.texi > gnus.tmptexi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
64 $(TEXI2DVI) gnus.tmptexi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
65 rm -f gnus.tmptexi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
66
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
67 texinfo.dvi: texinfo.texi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
68 $(TEXI2DVI) $<
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
69 .texi.dvi:
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
70 $(TEXI2DVI) $<
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
71
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
72 dvi : $(dvi) FORCE
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
73 for d in $(SUBDIR) ; do (cd $${d} && $(MAKE) $(MFLAGS) $@) ; done
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
74
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
75 mostlyclean:
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
76 for d in $(SUBDIR) ; do (cd $${d} && $(MAKE) $(MFLAGS) $@) ; done
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
77 rm -f *.toc *.aux *.log \
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
78 *.cp *.cps *.fn *.fns *.ky *.kys *.pg *.pgs *.vr *.vrs *.tp *.tps
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
79 clean: mostlyclean
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
80 for d in $(SUBDIR) ; do (cd $${d} && $(MAKE) $(MFLAGS) $@) ; done
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
81 rm -f *.o core *.dvi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
82 distclean: clean
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
83 for d in $(SUBDIR) ; do (cd $${d} && $(MAKE) $(MFLAGS) $@) ; done
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
84 realclean: distclean
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
85 for d in $(SUBDIR) ; do (cd $${d} && $(MAKE) $(MFLAGS) $@) ; done
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
86 extraclean: distclean
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
87 for d in $(SUBDIR) ; do (cd $${d} && $(MAKE) $(MFLAGS) $@) ; done
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents:
diff changeset
88 -rm -f *~ \#*