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@
37 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
38 INSTALL_DATA
= @INSTALL_DATA@
40 MAKEINFO
= `if [ -f ../texinfo/makeinfo/makeinfo ]; \
41 then echo ../texinfo/makeinfo/makeinfo; \
42 else echo makeinfo; fi`
43 TEXI2DVI
= `if [ -f ../texinfo/util/texi2dvi ]; \
44 then echo ../texinfo/util/texi2dvi; \
45 else echo texi2dvi; fi`
46 TEXI2PDF
= `if [ -f ../texinfo/util/texi2dvi ]; \
47 then echo "../texinfo/util/texi2dvi --pdf"; \
48 else echo "texi2dvi --pdf"; fi`
49 TEXI2HTML
= `if [ -f ../texinfo/makeinfo/makeinfo ]; \
50 then echo "../texinfo/makeinfo/makeinfo --html"; \
51 else echo "makeinfo --html"; fi`
55 # Where to find texinfo.tex to format documentation with TeX.
56 TEXIDIR
= $(srcdir)/..
/texinfo
58 #### Host, target, and site specific Makefile fragments come in here.
61 INFOFILES
= standards.
info configure.
info
62 DVIFILES
= standards.
dvi configure.
dvi
63 PDFFILES
= standards.pdf configure.pdf
64 HTMLFILES
= standards.html configure.html
67 install install-strip
: install-info
72 for f in
$(INFOFILES
); do \
73 if
test -f
$(srcdir)/`echo $$f | sed -e 's/.info$$/.texi/'`; then \
74 if
$(MAKE
) "MAKEINFO=$(MAKEINFO)" $$f; then \
83 $(SHELL
) $(srcdir)/..
/mkinstalldirs
$(DESTDIR
)$(infodir)
84 if
test ! -f standards.
info; then cd
$(srcdir); fi
; \
85 if
test -f standards.
info; then \
86 for i in standards.
info*; do \
87 $(INSTALL_DATA
) $$i $(DESTDIR
)$(infodir)/$$i; \
90 if
test ! -f configure.
info; then cd
$(srcdir); fi
; \
91 if
test -f configure.
info; then \
92 for i in configure.
info*; do \
93 $(INSTALL_DATA
) $$i $(DESTDIR
)$(infodir)/$$i; \
98 for f in
$(HTMLFILES
); do \
99 if
test -f
$(srcdir)/`echo $$f | sed -e 's/.html$$/.texi/'`; then \
100 if
$(MAKE
) "TEXI2HTML=$(TEXI2HTML)" $$f; then \
109 $(SHELL
) $(srcdir)/..
/mkinstalldirs
$(DESTDIR
)$(htmldir
)
110 if
test ! -f standards.html
; then cd
$(srcdir); fi
; \
111 if
test -f standards.html
; then \
112 for i in standards.html
*; do \
113 $(INSTALL_DATA
) $$i $(DESTDIR
)$(htmldir
)/$$i; \
116 if
test ! -f configure.html
; then cd
$(srcdir); fi
; \
117 if
test -f configure.html
; then \
118 for i in configure.html
*; do \
119 $(INSTALL_DATA
) $$i $(DESTDIR
)$(htmldir
)/$$i; \
124 for f in
$(DVIFILES
); do \
125 if
test -f
$(srcdir)/`echo $$f | sed -e 's/.dvi$$/.texi/'`; then \
126 if
$(MAKE
) "TEXI2DVI=$(TEXI2DVI)" $$f; then \
135 for f in
$(PDFFILES
); do \
136 if
test -f
$(srcdir)/`echo $$f | sed -e 's/.pdf$$/.texi/'`; then \
137 if
$(MAKE
) "TEXI2PDF=$(TEXI2PDF)" $$f; then \
146 $(SHELL
) $(srcdir)/..
/mkinstalldirs
$(DESTDIR
)$(pdfdir
)/etc
147 if
test ! -f standards.pdf
; then cd
$(srcdir); fi
; \
148 if
test -f standards.pdf
; then \
149 for i in standards.pdf
*; do \
150 $(INSTALL_DATA
) $$i $(DESTDIR
)$(pdfdir
)/etc
/$$i; \
153 if
test ! -f configure.pdf
; then cd
$(srcdir); fi
; \
154 if
test -f configure.pdf
; then \
155 for i in configure.pdf
*; do \
156 $(INSTALL_DATA
) $$i $(DESTDIR
)$(pdfdir
)/etc
/$$i; \
160 standards.
info: $(srcdir)/standards.texi
$(srcdir)/make-stds.texi
161 $(MAKEINFO
) --no-split
-I
$(srcdir) -o standards.
info $(srcdir)/standards.texi
163 standards.html
: $(srcdir)/standards.texi
$(srcdir)/make-stds.texi
164 $(TEXI2HTML
) --no-split
-I
$(srcdir) -o standards.html
$(srcdir)/standards.texi
166 standards.
dvi: $(srcdir)/standards.texi
167 TEXINPUTS
=$(TEXIDIR
):$$TEXINPUTS $(TEXI2DVI
) $(srcdir)/standards.texi
169 standards.ps
: standards.
dvi
170 $(DVIPS
) standards.
dvi -o standards.ps
172 standards.pdf
: $(srcdir)/standards.texi
173 TEXINPUTS
=$(TEXIDIR
):$$TEXINPUTS $(TEXI2PDF
) $(srcdir)/standards.texi
175 # makeinfo requires images to be in the current directory.
176 configure.
info: $(srcdir)/configure.texi
$(srcdir)/configdev.tin
$(srcdir)/configbuild.tin
177 rm -f configdev.txt configbuild.txt
178 cp
$(srcdir)/configdev.tin configdev.txt
179 cp
$(srcdir)/configbuild.tin configbuild.txt
180 $(MAKEINFO
) -I
$(srcdir) -o configure.
info $(srcdir)/configure.texi
181 rm -f configdev.txt configbuild.txt
183 # texi2dvi wants both the .txt and the .eps files.
184 configure.
dvi: $(srcdir)/configure.texi
$(srcdir)/configdev.tin
$(srcdir)/configbuild.tin
$(srcdir)/configdev.ein
$(srcdir)/configbuild.ein
185 rm -f configdev.txt configbuild.txt
186 cp
$(srcdir)/configdev.tin configdev.txt
187 cp
$(srcdir)/configbuild.tin configbuild.txt
188 rm -f configdev.eps configbuild.eps
189 cp
$(srcdir)/configdev.ein configdev.eps
190 cp
$(srcdir)/configbuild.ein configbuild.eps
191 TEXINPUTS
=$(TEXIDIR
):$$TEXINPUTS $(TEXI2DVI
) $(srcdir)/configure.texi
192 rm -f configdev.txt configbuild.txt
193 rm -f configdev.eps configbuild.eps
195 # dvips requires images to be in the current directory
196 configure.ps
: configure.
dvi $(srcdir)/configdev.ein
$(srcdir)/configbuild.ein
197 rm -f configdev.eps configbuild.eps
198 cp
$(srcdir)/configdev.ein configdev.eps
199 cp
$(srcdir)/configbuild.ein configbuild.eps
200 $(DVIPS
) configure.
dvi -o configure.ps
201 rm -f configdev.eps configbuild.eps
203 configure.pdf
: $(srcdir)/configure.texi
$(srcdir)/configdev.tin
$(srcdir)/configbuild.tin
$(srcdir)/configdev.ein
$(srcdir)/configbuild.ein
204 rm -f configdev.pdf configbuild.pdf
205 epstopdf
$(srcdir)/configdev.ein
-outfile
=configdev.pdf
206 epstopdf
$(srcdir)/configbuild.ein
-outfile
=configbuild.pdf
207 TEXINPUTS
=$(TEXIDIR
):$$TEXINPUTS $(TEXI2PDF
) $(srcdir)/configure.texi
208 rm -f configdev.pdf configbuild.pdf
210 configure.html
: $(srcdir)/configure.texi
211 cp
$(srcdir)/configdev.jin configdev.jpg
212 cp
$(srcdir)/configbuild.jin configbuild.jpg
213 $(TEXI2HTML
) --no-split
-I
$(srcdir) -o configure.html
$(srcdir)/configure.texi
216 rm -f
*.aux
*.cp
*.cps
*.
dvi *.fn
*.fns
*.ky
*.kys
*.log
217 rm -f
*.pg
*.pgs
*.toc
*.tp
*.tps
*.vr
*.vrs
218 rm -f configdev.txt configbuild.txt
219 rm -f configdev.eps configbuild.eps
220 rm -f configdev.jpg configbuild.jpg
225 rm -f Makefile config.status config.cache
227 maintainer-clean
realclean: distclean
231 Makefile
: $(srcdir)/Makefile.in
$(host_makefile_frag
) $(target_makefile_frag
) \
233 $(SHELL
) .
/config.status
236 configure_deps
= $(srcdir)/configure.in
238 $(srcdir)/configure
: @MAINT@
$(configure_deps
)
239 cd
$(srcdir) && $(AUTOCONF
)
241 config.status
: $(srcdir)/configure
242 $(SHELL
) .
/config.status
--recheck
244 ## these last targets are for standards.texi conformance