8 exec_prefix = @
exec_prefix@
19 man1dir = $(mandir)/man1
20 man2dir = $(mandir)/man2
21 man3dir = $(mandir)/man3
22 man4dir = $(mandir)/man4
23 man5dir = $(mandir)/man5
24 man6dir = $(mandir)/man6
25 man7dir = $(mandir)/man7
26 man8dir = $(mandir)/man8
27 man9dir = $(mandir)/man9
28 datarootdir
= @datarootdir@
36 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
37 INSTALL_DATA
= @INSTALL_DATA@
39 MAKEINFO
= `if [ -f ../texinfo/makeinfo/makeinfo ]; \
40 then echo ../texinfo/makeinfo/makeinfo; \
41 else echo makeinfo; fi`
42 TEXI2DVI
= `if [ -f ../texinfo/util/texi2dvi ]; \
43 then echo ../texinfo/util/texi2dvi; \
44 else echo texi2dvi; fi`
45 TEXI2HTML
= `if [ -f ../texinfo/makeinfo/makeinfo ]; \
46 then echo "../texinfo/makeinfo/makeinfo --html"; \
47 else echo "makeinfo --html"; fi`
51 # Where to find texinfo.tex to format documentation with TeX.
52 TEXIDIR
= $(srcdir)/..
/texinfo
54 #### Host, target, and site specific Makefile fragments come in here.
57 INFOFILES
= standards.
info configure.
info
58 DVIFILES
= standards.
dvi configure.
dvi
59 HTMLFILES
= standards.html configure.html
67 for f in
$(INFOFILES
); do \
68 if
test -f
$(srcdir)/`echo $$f | sed -e 's/.info$$/.texi/'`; then \
69 if
$(MAKE
) "MAKEINFO=$(MAKEINFO)" $$f; then \
78 $(SHELL
) $(srcdir)/..
/mkinstalldirs
$(DESTDIR
)$(infodir)
79 if
test ! -f standards.
info; then cd
$(srcdir); fi
; \
80 if
test -f standards.
info; then \
81 for i in standards.
info*; do \
82 $(INSTALL_DATA
) $$i $(DESTDIR
)$(infodir)/$$i; \
85 if
test ! -f configure.
info; then cd
$(srcdir); fi
; \
86 if
test -f configure.
info; then \
87 for i in configure.
info*; do \
88 $(INSTALL_DATA
) $$i $(DESTDIR
)$(infodir)/$$i; \
93 for f in
$(HTMLFILES
); do \
94 if
test -f
$(srcdir)/`echo $$f | sed -e 's/.html$$/.texi/'`; then \
95 if
$(MAKE
) "TEXI2HTML=$(TEXI2HTML)" $$f; then \
104 $(SHELL
) $(srcdir)/..
/mkinstalldirs
$(DESTDIR
)$(htmldir
)
105 if
test ! -f standards.html
; then cd
$(srcdir); fi
; \
106 if
test -f standards.html
; then \
107 for i in standards.html
*; do \
108 $(INSTALL_DATA
) $$i $(DESTDIR
)$(htmldir
)/$$i; \
111 if
test ! -f configure.html
; then cd
$(srcdir); fi
; \
112 if
test -f configure.html
; then \
113 for i in configure.html
*; do \
114 $(INSTALL_DATA
) $$i $(DESTDIR
)$(htmldir
)/$$i; \
119 for f in
$(DVIFILES
); do \
120 if
test -f
$(srcdir)/`echo $$f | sed -e 's/.dvi$$/.texi/'`; then \
121 if
$(MAKE
) "TEXI2DVI=$(TEXI2DVI)" $$f; then \
129 standards.
info: $(srcdir)/standards.texi
$(srcdir)/make-stds.texi
130 $(MAKEINFO
) --no-split
-I
$(srcdir) -o standards.
info $(srcdir)/standards.texi
132 standards.html
: $(srcdir)/standards.texi
$(srcdir)/make-stds.texi
133 $(TEXI2HTML
) --no-split
-I
$(srcdir) -o standards.html
$(srcdir)/standards.texi
135 standards.
dvi: $(srcdir)/standards.texi
136 TEXINPUTS
=$(TEXIDIR
):$$TEXINPUTS $(TEXI2DVI
) $(srcdir)/standards.texi
138 standards.ps
: standards.
dvi
139 $(DVIPS
) standards.
dvi -o standards.ps
141 # makeinfo requires images to be in the current directory.
142 configure.
info: $(srcdir)/configure.texi
$(srcdir)/configdev.tin
$(srcdir)/configbuild.tin
143 rm -f configdev.txt configbuild.txt
144 cp
$(srcdir)/configdev.tin configdev.txt
145 cp
$(srcdir)/configbuild.tin configbuild.txt
146 $(MAKEINFO
) -I
$(srcdir) -o configure.
info $(srcdir)/configure.texi
147 rm -f configdev.txt configbuild.txt
149 # texi2dvi wants both the .txt and the .eps files.
150 configure.
dvi: $(srcdir)/configure.texi
$(srcdir)/configdev.tin
$(srcdir)/configbuild.tin
$(srcdir)/configdev.ein
$(srcdir)/configbuild.ein
151 rm -f configdev.txt configbuild.txt
152 cp
$(srcdir)/configdev.tin configdev.txt
153 cp
$(srcdir)/configbuild.tin configbuild.txt
154 rm -f configdev.eps configbuild.eps
155 cp
$(srcdir)/configdev.ein configdev.eps
156 cp
$(srcdir)/configbuild.ein configbuild.eps
157 TEXINPUTS
=$(TEXIDIR
):$$TEXINPUTS $(TEXI2DVI
) $(srcdir)/configure.texi
158 rm -f configdev.txt configbuild.txt
159 rm -f configdev.eps configbuild.eps
161 # dvips requires images to be in the current directory
162 configure.ps
: configure.
dvi $(srcdir)/configdev.ein
$(srcdir)/configbuild.ein
163 rm -f configdev.eps configbuild.eps
164 cp
$(srcdir)/configdev.ein configdev.eps
165 cp
$(srcdir)/configbuild.ein configbuild.eps
166 $(DVIPS
) configure.
dvi -o configure.ps
167 rm -f configdev.eps configbuild.eps
169 configure.html
: $(srcdir)/configure.texi
170 cp
$(srcdir)/configdev.jin configdev.jpg
171 cp
$(srcdir)/configbuild.jin configbuild.jpg
172 $(TEXI2HTML
) --no-split
-I
$(srcdir) -o configure.html
$(srcdir)/configure.texi
175 rm -f
*.aux
*.cp
*.cps
*.
dvi *.fn
*.fns
*.ky
*.kys
*.log
176 rm -f
*.pg
*.pgs
*.toc
*.tp
*.tps
*.vr
*.vrs
177 rm -f configdev.txt configbuild.txt
178 rm -f configdev.eps configbuild.eps
179 rm -f configdev.jpg configbuild.jpg
184 rm -f Makefile config.status config.cache
186 maintainer-clean
realclean: distclean
190 Makefile
: $(srcdir)/Makefile.in
$(host_makefile_frag
) $(target_makefile_frag
)
191 $(SHELL
) .
/config.status
193 ## these last targets are for standards.texi conformance