Hi Antoine,

> There seems to be a problem with the addition of the manual test in the 
> localcharset module, when used in a subdirectory:
> 
>   make[6]: Entering directory `/home/aluong/test-gnulib/libmissing/tests'
>   make[6]: *** No rule to make target `../../libmissing/libmissing.a', 
> needed by `test-localcharset'. Stop.

Each of the tests needs to link against the libmissing.a library.
Therefore this library needs to be built before the tests are compiled
and linked.

Probably something's wrong in the Makefile regarding the build order...

> The gnulib-tool command used was this one:
> 
>   gnulib-tool --import --lib=libmissing --source-base=libmissing 
> --m4-base=libmissing/m4 --tests-base=libmissing/tests --with-tests 
> localcharset

Does it work when you use two directories that are siblings instead
of ancestors?

   gnulib-tool --import --lib=libmissing --source-base=libmissing \
  --m4-base=libmissing/m4 --tests-base=libmissing-tests --with-tests \
  localcharset

Bruno


Reply via email to