I noticed this output while running gendocs:

Making .tar.gz for sources...
tar: Removing leading `/' from member names
/home/remote/eblake/autoconf/doc/autoconf.texi
...

Sure enough, the resulting tarball contains spurious directories:

$ tar tf doc/manual/autoconf.texi.tar.gz
home/remote/eblake/autoconf/doc/autoconf.texi
...

It looks like this portion of gendocs.sh should be using tar's -C option
(or, if that is not portable, doing an appropriate subshell and cd "$d"
prior to running tar):

> echo Making .tar.gz for sources...
> d=`dirname $srcfile`
> srcfiles=`ls $d/*.texinfo $d/*.texi $d/*.txi $d/*.eps 2>/dev/null` || true
> tar cvzfh $outdir/$PACKAGE.texi.tar.gz $srcfiles

so as to include just the source files, rather than bogus intermediate
directories that expose information about the machine of the person that
ran gendocs.sh.

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to