1 # Copyright (c) 1995, 1996 Cygnus Support
3 # The authors hereby grant permission to use, copy, modify, distribute,
4 # and license this software and its documentation for any purpose, provided
5 # that existing copyright notices are retained in all copies and that this
6 # notice is included verbatim in any distributions. No written agreement,
7 # license, or royalty fee is required for any of the authorized uses.
8 # Modifications to this software may be copyrighted by their authors
9 # and need not follow the licensing terms described here, provided that
10 # the new terms are clearly indicated on the first page of each file where
18 exec_prefix = @
exec_prefix@
21 man1dir = $(mandir)/man1
25 TEXI2DVI
= TEXINPUTS
=$(TEXIDIR
):$(srcdir):$$TEXINPUTS texi2dvi
28 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
29 INSTALL_DATA
= @INSTALL_DATA@
31 # Where to find texinfo.tex to format docn with TeX
32 TEXIDIR
= $(srcdir)/..
/..
/texinfo
46 porting
: porting.
dvi porting.
info
48 ######################################################################
49 # DOCUMENTATION TARGETS
51 porting.
dvi: $(srcdir)/porting.texi
$(srcdir)/porting.texi
52 $(TEXI2DVI
) $(srcdir)/porting.texi
54 # info file for online browsing
55 porting.
info: $(srcdir)/porting.texi
$(srcdir)/porting.texi
56 $(MAKEINFO
) -I
$(srcdir) -o porting.
info $(srcdir)/porting.texi
58 porting.ps
: porting.
dvi
59 dvips
-f porting.
dvi > porting.ps
61 # different targets for -ms, -mm, -me
62 # Try to use a recent texi2roff. v2 was put on prep in jan91.
63 # If you want an index, see texi2roff doc for postprocessing
64 # and add -i to texi2roff invocations below.
65 # Workarounds for texi2roff-2 (probably fixed in later texi2roff's, delete
66 # correspondint -e lines when later texi2roff's are current)
67 # + @ifinfo's deleted explicitly due to texi2roff-2 bug w nested constructs.
68 # + @c's deleted explicitly because texi2roff sees texinfo commands in them
69 # + @ (that's at-BLANK) not recognized by texi2roff, turned into blank
70 # + @alphaenumerate is ridiculously new, turned into @enumerate
73 porting.ms
: $(srcdir)/porting.texi
74 sed
-e
'/\\input texinfo/d' \
75 -e
'/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
76 -e
'/^@ifinfo/,/^@end ifinfo/d' \
80 -e
's/^@alphaenumerate/@enumerate/g' \
81 -e
's/^@end alphaenumerate/@end enumerate/g' \
82 $(srcdir)/porting.texi | \
84 sed
-e
's/---/\\(em/g' \
88 # '@noindent's removed due to texi2roff-2 mm bug; if yours is newer,
90 porting.mm
: $(srcdir)/porting.texi
91 sed
-e
'/\\input texinfo/d' \
92 -e
'/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
93 -e
'/^@ifinfo/,/^@end ifinfo/d' \
98 -e
's/^@alphaenumerate/@enumerate/g' \
99 -e
's/^@end alphaenumerate/@end enumerate/g' \
100 $(srcdir)/porting.texi | \
102 sed
-e
's/---/\\(em/g' \
106 porting.me
: $(srcdir)/porting.texi
107 sed
-e
'/\\input texinfo/d' \
108 -e
'/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
109 -e
'/^@ifinfo/,/^@end ifinfo/d' \
113 -e
's/^@alphaenumerate/@enumerate/g' \
114 -e
's/^@end alphaenumerate/@end enumerate/g' \
115 $(srcdir)/porting.texi | \
117 sed
-e
's/---/\\(em/g' \
121 ######################################################################
124 -rm -f
*.o
*~ \
#* core *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc \
125 *.tp
*.vr
*.cps
*.fns
*.kys
*.pgs
*.tps
*.vrs
*.
info* *.1 *.ps
127 maintainer-clean
realclean: clean
133 for i in
*.
info* ; do \
134 $(INSTALL_DATA
) $$i $(infodir)/$$i ; \
141 -rm -f Makefile config.cache config.log config.status
143 Makefile
: Makefile.in config.status
144 $(SHELL
) config.status
146 config.status
: configure
147 $(SHELL
) config.status
--recheck