bug-gnulib
[Top][All Lists]
Advanced

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

gnulib-tool forgets to copy files?


From: Simon Josefsson
Subject: gnulib-tool forgets to copy files?
Date: Thu, 30 Oct 2008 22:18:01 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

Hi.  I'm changing GnuTLS to use another configure.ac in lib/ and
libextra/ and AC_CONFIG_SUBDIRS, as per Bruno's suggestion.  I've run
into several problems, but I'll discuss each problem separately.  Here
is a first surprising behaviour.

Gnulib-tool seems to forget to copy some files, and I cannot understand
why.  Reproduce it by:

git clone git://git.savannah.gnu.org/gnutls.git
cd gnutls
git checkout 8e2ec91dad2432a869ca6fd1f1289d834bcd74c8
gnulib-tool --import

It will print:

Module list with included dependencies:
...
  perror
  perror-tests
...
File list:
...
  m4/perror.m4
...
  tests/test-perror.c
  tests/test-perror.sh
...

Note that perror.c is not listed in the file list.

If I try to force import of the module, something even more surprising
happens:

$ gnulib-tool --import perror
Module list with included dependencies:
...
  perror
  perror-tests
...
File list:
...
  lib/perror.c
...
  m4/perror.m4
...
  tests/test-perror.c
  tests/test-perror.sh
...
Removing file gl/tests/perror.c (backup in gl/tests/perror.c~)
Copying file gl/perror.c
Updating gl/Makefile.am (backup in gl/Makefile.am~)
Updating gl/m4/gnulib-cache.m4 (backup in gl/m4/gnulib-cache.m4~)
Updating gl/m4/gnulib-comp.m4 (backup in gl/m4/gnulib-comp.m4~)
Updating gl/tests/Makefile.am (backup in gl/tests/Makefile.am~)
Finished.
...

Ideas?

/Simon




reply via email to

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