* config/i386/i386.md (mmx_pinsrw): Output operands in correct
[official-gcc.git] / texinfo / doc / Makefile.am
blobcd9ae182cb94f14afe0fd11f58b48e6bf078f156
1 ## Makefile.am for texinfo/emacs.
2 ## $Id: Makefile.am,v 1.1.1.2 1998/03/24 18:20:38 law Exp $
3 ## Run automake in .. to produce Makefile.in from this.
5 info_TEXINFOS = info-stnd.texi info.texi texinfo.txi
7 # Use the programs built in our distribution.
8 MAKEINFO = ../makeinfo/makeinfo
9 INSTALL_INFO = ../util/install-info
11 # Include our texinfo.tex, not Automake's.
12 EXTRA_DIST = macro.texi userdoc.texi epsf.tex texinfo.tex
14 # We try to discover this via configure just to give a better help message.
15 TEXMF = @TEXMF@
17 install-data-local:
18         @echo "WARNING: You must install texinfo.tex and epsf.tex manually,"
19         @echo "WARNING: perhaps in $(TEXMF)/tex/texinfo/"
20         @echo "WARNING: and $(TEXMF)/tex/generic/dvips/ respectively."
21         @echo "WARNING: See doc/README for some considerations."
23 # Do not create info files for distribution.
24 dist-info:
26 # Do not try to build the info files in $(srcdir),
27 # since we don't distribute them.
28 .texi.info:
29         $(MAKEINFO) -I$(srcdir) `echo $< | sed 's,.*/,,'`
30 texinfo: $(srcdir)/texinfo.txi
31         $(MAKEINFO) -I$(srcdir) texinfo.txi
33 # Similarly, Do not try to install the info files from $(srcdir).
34 install-info-am: $(INFO_DEPS)
35         @$(NORMAL_INSTALL)
36         $(mkinstalldirs) $(infodir)
37         @for file in $(INFO_DEPS); do \
38           d=.; \
39           for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
40             if test -f $$d/$$ifile; then \
41               echo " $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile"; \
42               $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
43             else : ; fi; \
44           done; \
45         done
46         @$(POST_INSTALL)
47         @if $(SHELL) -c '$(INSTALL_INFO) --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
48           for file in $(INFO_DEPS); do \
49             echo " $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/$$file";\
50             $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/$$file || :;\
51           done; \
52         else : ; fi
55 # Remove the info files at make distclean.
56 distclean-aminfo:
57         rm -f texinfo texinfo-* info*.info*