[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Diffences between x86 and i386 files

From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Diffences between x86 and i386 files
Date: Thu, 25 Oct 2007 19:36:26 +0200
User-agent: Thunderbird (Macintosh/20070728)

- -This is, produced by makeinfo version 4.11 from
+This is, produced by makeinfo version 4.11 from

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 '/address@hidden/ s/:/_/g' $@

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

$(srcdir)/regex.texi: $(top_srcdir)/examples/
        rm -f $(srcdir)/regex.texi
builddir=`pwd`; gst=$$builddir/../gst; gst_im=$$builddir/../; \
        cd $(srcdir) && \
          $$gst -I $$gst_im -f ../scripts/ \
            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.
        @cd $(srcdir) && rm -f $@ address@hidden address@hidden
        fixed=`pwd`/`echo $< | $(SED) 's/\.texi/-fixed&/' `; \
          cd $(srcdir) && \
          $(MAKEINFO) `echo $< | $(SED) 's,.*/,,'` -E - -o /dev/null | \
          $(SED) '/address@hidden/ 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.

- 1034
- 299911
- 599343
- 754103
- 1191975 1011 299888 599320 754080 1191952

These are byte offsets because of the different paths above.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]