Hi,

I would suggest that you apply the attached patch to texinfo-4.1
Everything is related to the make-target "install-tex" (which works fine
with these mods)

If you are, on the other hand, no longer maintaining the "install-tex"
target, then it should be removed!!!

Here some comments on the patch:

1. I have modified doc/Makefile.in (because I didn't want to rerun
automake/autoconf and thereby get lots of irrelevant diffs), but the patch
should of course actually be applied to doc/Makefile.am

2. you should prefix the install directories with $(DESTDIR), because that
is what automake does for all generated install rules.

3. The file pdfcolor.tex should be installed as such (and not as epsf.tex)

4. You install epsf.tex in TEXMF/tex/generic/dvips/ and not in
TEXMF/tex/plain/dvips/. This is certainly OK and probably the better
solution, but then the doc/README shouldn't say something different.

regards
Peter Breitenlohner <[EMAIL PROTECTED]>
diff -ur texinfo-4.1.orig/doc/Makefile.in texinfo-4.1/doc/Makefile.in
--- texinfo-4.1.orig/doc/Makefile.in    Mon Mar  4 17:53:58 2002
+++ texinfo-4.1/doc/Makefile.in Thu Mar  7 12:30:12 2002
@@ -497,12 +497,12 @@
        @echo "         if your TeX installation did not include them."
 install-tex:
        test -n "$(TEXMF)" || (echo "TEXMF must be set." >&2; exit 1)
-       $(mkinstalldirs) $(texmf_texinfo) $(texmf_dvips) $(texmf_pdftex_misc)
-       $(INSTALL_DATA) $(srcdir)/texinfo.tex $(texmf_texinfo)/texinfo.tex
-       $(INSTALL_DATA) $(srcdir)/epsf.tex $(texmf_dvips)/epsf.tex
-       $(INSTALL_DATA) $(srcdir)/pdfcolor.tex $(texmf_pdftex_misc)/epsf.tex
+       $(mkinstalldirs) $(DESTDIR)$(texmf_texinfo) $(DESTDIR)$(texmf_dvips) 
+$(DESTDIR)$(texmf_pdftex_misc)
+       $(INSTALL_DATA) $(srcdir)/texinfo.tex $(DESTDIR)$(texmf_texinfo)/texinfo.tex
+       $(INSTALL_DATA) $(srcdir)/epsf.tex $(DESTDIR)$(texmf_dvips)/epsf.tex
+       $(INSTALL_DATA) $(srcdir)/pdfcolor.tex 
+$(DESTDIR)$(texmf_pdftex_misc)/pdfcolor.tex
        for f in $(TXI_XLATE); do \
-         $(INSTALL_DATA) $(srcdir)/$$f $(texmf_texinfo)/$$f; done
+         $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(texmf_texinfo)/$$f; done
 
 # Don't want to run help2man at every installation.
 @[EMAIL PROTECTED]: ../info/ginfo $(HELP2MAN)
diff -ur texinfo-4.1.orig/doc/README texinfo-4.1/doc/README
--- texinfo-4.1.orig/doc/README Tue Jul 31 15:47:38 2001
+++ texinfo-4.1/doc/README      Thu Mar  7 12:29:50 2002
@@ -8,7 +8,7 @@
 sense of security.  So, you should simply cp *.tex to the appropriate
 place.  If your installation follows the TeX Directory Structure
 standard (http://tug.org/tds/), this will be the directory
-TEXMF/tex/texinfo/ for texinfo.tex, TEXMF/tex/plain/dvips/ for epsf.tex,
+TEXMF/tex/texinfo/ for texinfo.tex, TEXMF/tex/generic/dvips/ for epsf.tex,
 and TEXMF/pdftex/plain/misc for pdfcolor.tex.  If you use the default
 installation paths, TEXMF will be /usr/local/share/texmf.  On systems
 with TeX preinstalled, as most GNU/Linux distributions offer, TEXMF

Reply via email to