- -This is gst-base.info, produced by makeinfo version 4.11 from
/home/s4504kr/cvs/fedora/gnu-smalltalk/devel/smalltalk-2.3.6/doc/gst-base-fixed.texi.
+This is gst-base.info, produced by makeinfo version 4.11 from
/builddir/build/BUILD/smalltalk-2.3.6/doc/gst-base-fixed.texi.

I can't do anything if the build factories use different paths. However, I appreciate that this could cause build paths to appear in installed files, which is a problem.

Anyway, a hack can be to add this line:

          $(SED) -i '/[EMAIL PROTECTED]/ s/:/_/g' $@

to each of the rules building a .texi file, like this ones:

$(srcdir)/regex.texi: $(top_srcdir)/examples/regex.st
        rm -f $(srcdir)/regex.texi
builddir=`pwd`; gst=$$builddir/../gst; gst_im=$$builddir/../gst.im; \
        cd $(srcdir) && \
          $$gst -I $$gst_im -f ../scripts/GenLibDoc.st \
            Regex Regex regex.texi
        test -f $(srcdir)/regex.texi && touch $(srcdir)/gst-libs.texi

and removing this block entirely:

# In TeX output, having colons in index entries looks pretty, but
# this is impossible in info output!!!  So we hack by replacing
# colons with underscores in the info file.
.texi.info:
        @cd $(srcdir) && rm -f $@ [EMAIL PROTECTED] [EMAIL PROTECTED]
        fixed=`pwd`/`echo $< | $(SED) 's/\.texi/-fixed&/' `; \
          cd $(srcdir) && \
          $(MAKEINFO) `echo $< | $(SED) 's,.*/,,'` -E - -o /dev/null | \
          $(SED) '/[EMAIL PROTECTED]/ s/:/_/g' > $$fixed && \
          $(MAKEINFO) $$fixed > /dev/null 2>&1 && \
          rm -f $$fixed

However, I'm not going to include it upstream. You should maintain it as a local patch.

- -gst-base.info-1: 1034
- -gst-base.info-2: 299911
- -gst-base.info-3: 599343
- -gst-base.info-4: 754103
- -gst-base.info-5: 1191975
+gst-base.info-1: 1011
+gst-base.info-2: 299888
+gst-base.info-3: 599320
+gst-base.info-4: 754080
+gst-base.info-5: 1191952

These are byte offsets because of the different paths above.

Paolo


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to