bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] Problems with distributing regex.c again, what am I (st


From: Bruno Haible
Subject: Re: [bug-gnulib] Problems with distributing regex.c again, what am I (still) doing wrong?
Date: Wed, 23 Feb 2005 14:10:17 +0100
User-agent: KMail/1.5

James Youngman wrote:
> Could somebody who knows more about how gnulib interacts with Automake
> please take a look at the hack (Makefile rule 'jy-regex-fix') in the
> top-level Makefile.am in the findutils-4.2.18 distribution (this is
> the current release on ftp.gnu.org) and try to figure out how I'm
> using gnulib or Automake wrongly and what I should be doing instead?
> ...
> For background info (including links to descriptions of previous
> attempts to solve the problem which were wrong for some reason or
> another) please also see
> http://savannah.gnu.org/bugs/?func=detailitem&item_id=12064

When I take the findutils-4.2.18 distribution,
remove the jy-regex-fix from the toplevel Makefile.am,
call autoreconf,
run "./configure; make; make dist"
-> the created tarball contains the regex.c as it should.
When then I do "make distclean", these commands are executed:

  test -z "gnulib/lib/regex.c" || rm -f gnulib/lib/regex.c
  rm -f config.h stamp-h1
  rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags

which remove the regex.c.

Second try: When I remove not only the jy-regex-fix but also the
CONFIG_CLEAN_FILES setting from the toplevel Makefile.am,
call autoreconf,
run "./configure; make; make dist"
-> the created tarball contains the regex.c as it should, and after
"make distclean" the regex.c survives.

One more test then: "./configure; make; make distcheck" ends up saying
==================================================
findutils-4.2.18 archives ready for distribution: 
findutils-4.2.18.tar.gz
==================================================

So it seems that all you need is to remove the two hacks from the toplevel
Makefile.am, and you are set.

Can you reproduce these experiments?

Bruno





reply via email to

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