Handle installcheck.
[platform/upstream/automake.git] / texinfos.am
1 .texi.info:
2         $(MAKEINFO) -I$(srcdir) $<
3
4 .texi.dvi:
5         TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
6
7 ## Look in both . and srcdir because the info pages might have been
8 ## rebuilt in the build directory.  Can't cd to srcdir; that might
9 ## break a possible install-sh reference.
10 install-info: $(INFO_DEPS)
11         $(top_srcdir)/mkinstalldirs $(infodir)
12         for file in $(INFO_DEPS); do            \
13           if test -f $$file; then               \
14             d=.;                                \
15           else                                  \
16             d=${srcdir};                        \
17           fi;                                   \
18           for ifile in $${file}*; do            \
19             $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
20           done;                                 \
21           if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
22             install-info --infodir=$(infodir) $$d/$$file; \
23           else                                  \
24             true;                               \
25           fi;                                   \
26         done
27
28 uninstall-info:
29         cd $(srcdir); for file in *.info*; do
30           rm -f $(infodir)/$$file; \
31         done
32
33 mostlyclean-info:
34         rm -f $(TEXFILES)
35
36 clean-info:
37
38 distclean-info:
39
40 maintainer-clean-info:
41         rm -f $(INFOS)
42