D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] make dist gettext problems.

 

Anyone used gettext with a C library? I'm getting strange errors on make dist 
that make no sense:

dists="ChangeLog Makefile.in.in POTFILES.in  "; \
extra_dists="POTFILES.skip Makevars LINGUAS"; \
for file in $extra_dists; do \
  test -f $file && dists="$dists $file"; \
done; \
for file in $dists; do \
  ln ./$file ../qof-0.6.0/po 2> /dev/null \
    || cp -p ./$file ../qof-0.6.0/po; \
done
cp: `./ChangeLog' and `../qof-0.6.0/po/ChangeLog' are the same file
cp: `./Makefile.in.in' and `../qof-0.6.0/po/Makefile.in.in' are the same file
cp: `./POTFILES.in' and `../qof-0.6.0/po/POTFILES.in' are the same file
cp: `./Makevars' and `../qof-0.6.0/po/Makevars' are the same file
make[1]: *** [distdir] Error 1
make[1]: Leaving directory `/opt/working/qof/po'
make: *** [distdir] Error 1

The files really do appear the same - deleting one allows the copy to take 
place but the next make dist breaks it again.
:-(

But they really are the same file, and not a symlink either:

cp: `/opt/working/qof/po/ChangeLog' and 
`/opt/working/qof/qof-0.6.0/po/ChangeLog' are the same file

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpUwopCOouOe.pgp
Description: PGP signature