* build-aux/gendocs.sh: output files to tar stdin and use -T- to allow
spaces, metacharacters and quotes in file names. Bruno Haible
solution.
+2024-01-27 Patrice Dumas <pertusus@free.fr>
+
+ gendocs: allow spaces, metacharacters and quotes in source file names
+ * build-aux/gendocs.sh: output files to tar stdin and use -T- to allow
+ spaces, metacharacters and quotes in file names. Bruno Haible
+ solution.
+
2024-01-27 Patrice Dumas <pertusus@free.fr>
gendocs: fix --no-html
d=`dirname $srcfile`
(
cd "$d"
- srcfiles=`ls -d *.texinfo *.texi *.txi *.eps $source_extra 2>/dev/null` || true
- tar czfh "$abs_outdir/$PACKAGE.texi.tar.gz" $srcfiles
+ ls -d *.texinfo *.texi *.txi *.eps "$source_extra" 2>/dev/null \
+ | tar -czhf "$abs_outdir/$PACKAGE.texi.tar.gz" -T-
ls -l "$abs_outdir/$PACKAGE.texi.tar.gz"
)
texi_tgz_size=`calcsize "$outdir/$PACKAGE.texi.tar.gz"`