[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Mon, 29 Aug 2005 20:37:30 +0100 Neil Williams wrote: > 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 Are they *actually* the same file? A hardlink perhaps, or just two completely identical files? Grant. -- Unix: Some say the learning curve is steep, but you only have to climb it once. -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html