comparison man/Makefile @ 108:360340f9fd5f r20-1b6

Import from CVS: tag r20-1b6
author cvs
date Mon, 13 Aug 2007 09:18:39 +0200
parents 4be1180a9e89
children 9f59509498e1
comparison
equal deleted inserted replaced
107:523141596bda 108:360340f9fd5f
21 21
22 # Avoid trouble on systems where the "SHELL" variable might be 22 # Avoid trouble on systems where the "SHELL" variable might be
23 # inherited from the environment. 23 # inherited from the environment.
24 SHELL = /bin/sh 24 SHELL = /bin/sh
25 25
26 EMACS = xemacs
27 EMACSFLAGS = -batch -q -no-site-file
28
29 # Implies makeinfo-1.64
30 MAKEINFO = makeinfo
31 # Implies makeinfo-1.67
32 NEWMAKEINFO = makeinfo-1.67
33
26 .SUFFIXES: .info .texi .dvi 34 .SUFFIXES: .info .texi .dvi
27 35
28 # Subdirectories to make recursively. 36 # Subdirectories to make recursively.
29 SUBDIR = xemacs lispref new-users-guide internals tm auctex 37 SUBDIR = xemacs lispref new-users-guide internals tm auctex
30 38
31 ../info/%.info : %.texi 39 ../info/%.info : %.texi
32 makeinfo -o $@ $< 40 -$(MAKEINFO) -o $@ $<
33 41
34 # hyperbole and oo-browser manuals broken - do not TeX properly
35 srcs = cc-mode cl custom ediff external-widget forms gnus \ 42 srcs = cc-mode cl custom ediff external-widget forms gnus \
36 hyperbole ilisp info ispell mailcrypt message mh-e oo-browser \ 43 hyperbole ilisp info ispell mailcrypt message mh-e oo-browser \
37 pcl-cvs psgml psgml-api rmail standards supercite term \ 44 pcl-cvs psgml psgml-api rmail standards supercite term \
38 termcap texinfo vhdl-mode viper vm w3 widget xemacs-faq 45 termcap texinfo vhdl-mode viper vm w3 widget xemacs-faq
39 46
40 info = $(srcs:%=../info/%.info) 47 info = $(srcs:%=../info/%.info)
41 dvi = $(srcs:%=%.dvi) 48 dvi = $(srcs:%=%.dvi)
42 49
50 special = # ../info/w3.info ../info/vm.info ../info/texinfo.info
51
43 all : info 52 all : info
44 info : $(info) 53 info : $(info) $(special)
45 for d in $(SUBDIR) ; do (cd $${d} && $(MAKE) $(MFLAGS) $@) ; done 54 -for d in $(SUBDIR) ; do (cd $${d} && $(MAKE) $(MFLAGS) $@) ; done
46 55
47 xemacs: FORCE 56 xemacs: FORCE
48 cd $@ && $(MAKE) $(MFLAGS) 57 -cd $@ && $(MAKE) $(MFLAGS)
49 lispref: FORCE 58 lispref: FORCE
50 cd $@ && $(MAKE) $(MFLAGS) 59 -cd $@ && $(MAKE) $(MFLAGS)
51 new-users-guide: FORCE 60 new-users-guide: FORCE
52 cd $@ && $(MAKE) $(MFLAGS) 61 -cd $@ && $(MAKE) $(MFLAGS)
53 internals: FORCE 62 internals: FORCE
54 cd $@ && $(MAKE) $(MFLAGS) 63 -cd $@ && $(MAKE) $(MFLAGS)
55 tm: FORCE 64 tm: FORCE
56 cd $@ && $(MAKE) $(MFLAGS) 65 -cd $@ && $(MAKE) $(MFLAGS)
57 auctex: FORCE 66 auctex: FORCE
58 cd $@ && $(MAKE) $(MFLAGS) 67 -cd $@ && $(MAKE) $(MFLAGS)
59 FORCE : 68 FORCE :
69
70 ../info/w3.info : w3.texi
71 -$(NEWMAKEINFO) w3.texi -o ../info/w3.info
72
73 ../info/texinfo.info : texinfo.texi
74 -$(NEWMAKEINFO) texinfo.texi -o ../info/texinfo.info
75
76
77 ../info/vm.info : vm.texi
78 -$(EMACS) $(EMACSFLAGS) -insert vm.texi -l texinfmt \
79 -f texinfo-format-buffer -f save-buffer
80 -mv vm.info* ../info
60 81
61 PERL = perl 82 PERL = perl
62 TEXI2DVI = texi2dvi 83 TEXI2DVI = texi2dvi
63 84
64 gnus.dvi : gnus.texi 85 gnus.dvi : gnus.texi