Commit 966830c4 by arpinux

mise à jour de l'export html-standalone

parent b1adfaff
Pipeline #17257 passed with stages
in 41 seconds
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -3,6 +3,7 @@
##########################################
LOG="pandoc.log"
MANTMP="les_cahiers_du_debutant"
MANWEB="les_cahiers_du_debutant.html"
TITLE="Les cahiers du débutant"
SUBTITLE="Debian sans se prendre la tête"
......@@ -45,8 +46,14 @@ pandoc \
# test du HTML
if test -f $MANWEB; then
echo "\n$MANWEB généré avec succès\n"
echo "\ncompression de l'archive\n"
mkdir $MANTMP
cp -a img/ $MANTMP/
cp $MANWEB $MANTMP/
tar cvzf $MANWEB.tar.gz $MANTMP/
echo "nettoyage"
rm $LOG
rm $LOG $MANWEB
rm -Rf $MANTMP/
exit 0
else
echo "ERROR: $MANWEB non généré > vérifiez le $LOG"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment