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
33 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
34 INSTALL_DATA
= @INSTALL_DATA@
36 MAKEINFO
= `if [ -f ../texinfo/makeinfo/makeinfo ]; \
37 then echo ../texinfo/makeinfo/makeinfo; \
38 else echo makeinfo; fi`
39 TEXI2DVI
= `if [ -f ../texinfo/util/texi2dvi ]; \
40 then echo ../texinfo/util/texi2dvi; \
41 else echo texi2dvi; fi`
42 TEXI2HTML
= `if [ -f ../texinfo/makeinfo/makeinfo ]; \
43 then echo "../texinfo/makeinfo/makeinfo --html"; \
44 else echo "makeinfo --html"; fi`
48 # Where to find texinfo.tex to format documentation with TeX.
49 TEXIDIR
= $(srcdir)/..
/texinfo
51 #### Host, target, and site specific Makefile fragments come in here.
54 INFOFILES
= standards.
info configure.
info
55 DVIFILES
= standards.
dvi configure.
dvi
56 HTMLFILES
= standards.html configure.html
64 for f in
$(INFOFILES
); do \
65 if
test -f
$(srcdir)/`echo $$f | sed -e 's/.info$$/.texi/'`; then \
66 if
$(MAKE
) "MAKEINFO=$(MAKEINFO)" $$f; then \
75 $(SHELL
) $(srcdir)/..
/mkinstalldirs
$(DESTDIR
)$(infodir)
76 if
test ! -f standards.
info; then cd
$(srcdir); fi
; \
77 if
test -f standards.
info; then \
78 for i in standards.
info*; do \
79 $(INSTALL_DATA
) $$i $(DESTDIR
)$(infodir)/$$i; \
82 if
test ! -f configure.
info; then cd
$(srcdir); fi
; \
83 if
test -f configure.
info; then \
84 for i in configure.
info*; do \
85 $(INSTALL_DATA
) $$i $(DESTDIR
)$(infodir)/$$i; \
90 for f in
$(HTMLFILES
); do \
91 if
test -f
$(srcdir)/`echo $$f | sed -e 's/.html$$/.texi/'`; then \
92 if
$(MAKE
) "TEXI2HTML=$(TEXI2HTML)" $$f; then \
102 for f in
$(DVIFILES
); do \
103 if
test -f
$(srcdir)/`echo $$f | sed -e 's/.dvi$$/.texi/'`; then \
104 if
$(MAKE
) "TEXI2DVI=$(TEXI2DVI)" $$f; then \
112 standards.
info: $(srcdir)/standards.texi
$(srcdir)/make-stds.texi
113 $(MAKEINFO
) --no-split
-I
$(srcdir) -o standards.
info $(srcdir)/standards.texi
115 standards.html
: $(srcdir)/standards.texi
$(srcdir)/make-stds.texi
116 $(TEXI2HTML
) --no-split
-I
$(srcdir) -o standards.html
$(srcdir)/standards.texi
118 standards.
dvi: $(srcdir)/standards.texi
119 TEXINPUTS
=$(TEXIDIR
):$$TEXINPUTS $(TEXI2DVI
) $(srcdir)/standards.texi
121 standards.ps
: standards.
dvi
122 $(DVIPS
) standards.
dvi -o standards.ps
124 # makeinfo requires images to be in the current directory.
125 configure.
info: $(srcdir)/configure.texi
$(srcdir)/configdev.tin
$(srcdir)/configbuild.tin
126 rm -f configdev.txt configbuild.txt
127 cp
$(srcdir)/configdev.tin configdev.txt
128 cp
$(srcdir)/configbuild.tin configbuild.txt
129 $(MAKEINFO
) -I
$(srcdir) -o configure.
info $(srcdir)/configure.texi
130 rm -f configdev.txt configbuild.txt
132 # texi2dvi wants both the .txt and the .eps files.
133 configure.
dvi: $(srcdir)/configure.texi
$(srcdir)/configdev.tin
$(srcdir)/configbuild.tin
$(srcdir)/configdev.ein
$(srcdir)/configbuild.ein
134 rm -f configdev.txt configbuild.txt
135 cp
$(srcdir)/configdev.tin configdev.txt
136 cp
$(srcdir)/configbuild.tin configbuild.txt
137 rm -f configdev.eps configbuild.eps
138 cp
$(srcdir)/configdev.ein configdev.eps
139 cp
$(srcdir)/configbuild.ein configbuild.eps
140 TEXINPUTS
=$(TEXIDIR
):$$TEXINPUTS $(TEXI2DVI
) $(srcdir)/configure.texi
141 rm -f configdev.txt configbuild.txt
142 rm -f configdev.eps configbuild.eps
144 # dvips requires images to be in the current directory
145 configure.ps
: configure.
dvi $(srcdir)/configdev.ein
$(srcdir)/configbuild.ein
146 rm -f configdev.eps configbuild.eps
147 cp
$(srcdir)/configdev.ein configdev.eps
148 cp
$(srcdir)/configbuild.ein configbuild.eps
149 $(DVIPS
) configure.
dvi -o configure.ps
150 rm -f configdev.eps configbuild.eps
152 configure.html
: $(srcdir)/configure.texi
153 cp
$(srcdir)/configdev.jin configdev.jpg
154 cp
$(srcdir)/configbuild.jin configbuild.jpg
155 $(TEXI2HTML
) --no-split
-I
$(srcdir) -o configure.html
$(srcdir)/configure.texi
158 rm -f
*.aux
*.cp
*.cps
*.
dvi *.fn
*.fns
*.ky
*.kys
*.log
159 rm -f
*.pg
*.pgs
*.toc
*.tp
*.tps
*.vr
*.vrs
160 rm -f configdev.txt configbuild.txt
161 rm -f configdev.eps configbuild.eps
162 rm -f configdev.jpg configbuild.jpg
167 rm -f Makefile config.status config.cache
169 maintainer-clean
realclean: distclean
173 Makefile
: $(srcdir)/Makefile.in
$(host_makefile_frag
) $(target_makefile_frag
)
174 $(SHELL
) .
/config.status
176 ## these last targets are for standards.texi conformance