diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2000-02-09 02:18:44 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2000-02-09 02:18:44 +0000 |
commit | 2daf2f782cfcd3aedc541b85f8623f97359545f0 (patch) | |
tree | 4612e42a561ef7634424adaa909d6a9f92866034 /gnu/usr.bin/texinfo/doc/Makefile.am | |
parent | 328f35a635ee7b14c4d6f2dbddacba138e62219b (diff) |
Merge conflicts, and a few details:
- Makefile.bsd-wrapper: man pages, disable NLS for now.
- doc/Makefile.in: install man pages manually, remove buggy targets that
would break `make clean'.
- makeinfo/Makefile.in: shell failure ??? rework problematic line.
- util/texindex.c: let maketempname create the file, remove race condition.
Diffstat (limited to 'gnu/usr.bin/texinfo/doc/Makefile.am')
-rw-r--r-- | gnu/usr.bin/texinfo/doc/Makefile.am | 54 |
1 files changed, 44 insertions, 10 deletions
diff --git a/gnu/usr.bin/texinfo/doc/Makefile.am b/gnu/usr.bin/texinfo/doc/Makefile.am index f7c8e616237..fb305b27686 100644 --- a/gnu/usr.bin/texinfo/doc/Makefile.am +++ b/gnu/usr.bin/texinfo/doc/Makefile.am @@ -1,26 +1,60 @@ ## Makefile.am for texinfo/emacs. -## $Id: Makefile.am,v 1.2 1999/01/11 16:38:02 espie Exp $ +## $Id: Makefile.am,v 1.3 2000/02/09 02:18:37 espie Exp $ ## Run automake in .. to produce Makefile.in from this. -info_TEXINFOS = info-stnd.texi info.texi texinfo.txi +# Put texinfo.txi first because that's the best candidate UPDATED in +# version.texi. +info_TEXINFOS = texinfo.txi info-stnd.texi info.texi + +man_MANS = info.1 install-info.1 makeinfo.1 texindex.1 texi2dvi.1 \ + info.5 texinfo.5 +HELP2MAN = help2man +noinst_SCRIPTS = $(HELP2MAN) # Use the programs built in our distribution. MAKEINFO = ../makeinfo/makeinfo INSTALL_INFO = ../util/install-info # Include our texinfo.tex, not Automake's. -EXTRA_DIST = macro.texi userdoc.texi epsf.tex texinfo.tex - -# We try to discover this via configure just to give a better help message. -TEXMF = @TEXMF@ +EXTRA_DIST = macro.texi userdoc.texi epsf.tex texinfo.tex \ + txi-cs.tex txi-de.tex txi-en.tex txi-es.tex \ + txi-nl.tex txi-no.tex txi-pt.tex \ + $(man_MANS) $(noinst_SCRIPTS) install-data-local: - @echo "WARNING: You must install texinfo.tex and epsf.tex manually," - @echo "WARNING: perhaps in $(TEXMF)/tex/texinfo/" - @echo "WARNING: and $(TEXMF)/tex/generic/dvips/ respectively." + @echo "WARNING: You must install texinfo.tex, txi-??.tex, and epsf.tex manually," + @echo "WARNING: perhaps in TEXMF/tex/texinfo/ and" + @echo "WARNING: TEXMF/tex/generic/dvips/ respectively," + @echo "WARNING: where TEXMF is a root of your TeX tree." @echo "WARNING: See doc/README for some considerations." + @echo "WARNING: You can run make TEXMF=/your/texmf install-tex to do this." + +texmf_texinfo = $(TEXMF)/tex/texinfo +texmf_dvips = $(TEXMF)/tex/generic/dvips +install-tex: + test -n "$(TEXMF)" || (echo "TEXMF must be set." >&2; exit 1) + $(mkinstalldirs) $(texmf_texinfo) $(texmf_dvips) + $(INSTALL_DATA) texinfo.tex $(texmf_texinfo)/texinfo.tex + $(INSTALL_DATA) txi-cs.tex $(texmf_texinfo)/txi-cs.tex + $(INSTALL_DATA) txi-de.tex $(texmf_texinfo)/txi-de.tex + $(INSTALL_DATA) txi-no.tex $(texmf_texinfo)/txi-no.tex + $(INSTALL_DATA) epsf.tex $(texmf_dvips)/epsf.tex + +# Don't want to run help2man at every installation. +if TEXINFO_MAINT +info.1: ../info/ginfo $(HELP2MAN) + $(HELP2MAN) --name="read Info documents" $< >$@ +install-info.1: $(INSTALL_INFO) $(HELP2MAN) + $(HELP2MAN) --name="update info/dir entries" $< >$@ +makeinfo.1: $(MAKEINFO) $(HELP2MAN) + $(HELP2MAN) --name="translate Texinfo documents" $< >$@ +texi2dvi.1: ../util/texi2dvi $(HELP2MAN) + $(HELP2MAN) --name="print Texinfo documents" $< >$@ +texindex.1: ../util/texindex $(HELP2MAN) + $(HELP2MAN) --name="sort Texinfo index files" $< >$@ +endif -# Do not create info files for distribution. +# Do not create info files for distribution, but do create man pages. dist-info: # Do not try to build the info files in $(srcdir), |