[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issues with gendocs and images
From: |
Akim Demaille |
Subject: |
Re: Issues with gendocs and images |
Date: |
Thu, 25 Oct 2012 15:59:53 +0200 |
Hi all,
I don't understand too well some bits of gendocs:
opt="--html -o $PACKAGE.html $commonarg $htmlarg"
cmd="$SETLANG $MAKEINFO $opt \"$srcfile\""
echo "Generating html by node... ($cmd)"
eval "$cmd"
split_html_dir=$PACKAGE.html
(
cd ${split_html_dir} || exit 1
tar -czf "$abs_outdir/${PACKAGE}.html_node.tar.gz" -- *.html
)
html_node_tgz_size=`calcsize "$outdir/${PACKAGE}.html_node.tar.gz"`
rm -f "$outdir"/html_node/*.html
mkdir -p "$outdir/html_node/"
mv ${split_html_dir}/*.html "$outdir/html_node/"
rmdir ${split_html_dir}
I don't understand why it seems to take that many precautions
to get only the *html files that are generated by makeinfo
--html, why no simply take everything that is in the directory?
Also, at the end, we empty a directory, and then mv *html files
from one to the other, and kill the empty directory. Why didn't
we simply rename that directory? Actually, why would we rename it
instead of simply passing to -o the wanted directory, instead of
creating this directory?
Thanks in advance. My questions are related to changes I am
making to import the needed images (which, of course, don't
match *.html).
- Issues with gendocs and images, Akim Demaille, 2012/10/19
- Re: Issues with gendocs and images, Ben Pfaff, 2012/10/23
- Re: Issues with gendocs and images,
Akim Demaille <=
- Re: Issues with gendocs and images, Karl Berry, 2012/10/25
- Re: Issues with gendocs and images, Akim Demaille, 2012/10/26
- Re: Issues with gendocs and images, Karl Berry, 2012/10/27
- Re: Issues with gendocs and images, Akim Demaille, 2012/10/31
- Re: Issues with gendocs and images, Karl Berry, 2012/10/31
Re: Issues with gendocs and images, Patrice Dumas, 2012/10/20