Re: XForms: autoconf/automake patch

From: Angus Leeming (angus.leeming@btopenworld.com)
Date: Wed May 21 2003 - 15:30:06 EDT

  • Next message: David Scriven: "Re: XForms: Problem with xforms-1.0-release while compiling"

    # To subscribers of the xforms list from Angus Leeming <angus.leeming@btopenworld.com> :

    On Wednesday 21 May 2003 12:06 pm, Jean-Marc Lasgouttes wrote:
    > # To subscribers of the xforms list from Jean-Marc Lasgouttes
    <Jean-Marc.Lasgouttes@inria.fr> :
    > >>>>> "Angus" == Angus Leeming <angus.leeming@btopenworld.com> writes:
    > >>
    > >> - AAA.h is not distributed, but forms.h is. I think none of them
    > >> should go in the dist.
    >
    > Angus> This is AFAICS impossible to achieve if we want make dist and
    > Angus> make rpmdist to work correctly. I may, of course, be wrong
    > Angus> here.
    >
    > What problems do you see? We do not want to have either of these files
    > in the source distributions. Binary distributions are another matter,
    > of course.

    My understanding of automake is that it executes the BUILT_SOURCES stuff
    before doing anything else. Ie, make distdir itself will cause forms.h to be
    built. I am somewhat hazy about all this, however, because I do not
    understand what the "make" command below is doing.

    Angus

    list='bitmaps fd include OS2 private'; for subdir in $list; do \
      if test "$subdir" = .; then :; else \
        test -d ../xforms-1.0.2/lib/$subdir \
        || mkdir ../xforms-1.0.2/lib/$subdir \
        || exit 1; \
        (cd $subdir && \
          make \
            top_distdir="." \
            distdir=../../xforms-1.0.2/lib/$subdir \
            distdir) \
          || exit 1; \
      fi; \
    done

    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/
    Development: http://savannah.nongnu.org/files/?group=xforms



    This archive was generated by hypermail 2b29 : Wed May 21 2003 - 14:24:49 EDT