texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[6912] delete raw_outdir to fix make distcheck


From: Gavin D. Smith
Subject: [6912] delete raw_outdir to fix make distcheck
Date: Sat, 02 Jan 2016 14:20:20 +0000

Revision: 6912
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6912
Author:   gavin
Date:     2016-01-02 14:20:19 +0000 (Sat, 02 Jan 2016)
Log Message:
-----------
delete raw_outdir to fix make distcheck

Modified Paths:
--------------
    trunk/tp/tests/run_parser_all.sh

Modified: trunk/tp/tests/run_parser_all.sh
===================================================================
--- trunk/tp/tests/run_parser_all.sh    2016-01-02 13:03:50 UTC (rev 6911)
+++ trunk/tp/tests/run_parser_all.sh    2016-01-02 14:20:19 UTC (rev 6912)
@@ -354,8 +354,9 @@
         test -d "${raw_outdir}" || mkdir "${raw_outdir}"
         rm -rf "${raw_outdir}$dir"
 
-        # with latex2html or tex4ht output is stored in raw_outdir, and files
+        # With latex2html or tex4ht output is stored in raw_outdir, and files
         # are removed or modified from the output directory used for 
comparisons
+        # NB there is similar code in many_input_files/tex_{l2h,t4ht}.sh.
         if test "$use_latex2html" = 'yes' || test "$use_tex4ht" = 'yes' ; then
 
           cp -pr ${outdir}$dir/ "${raw_outdir}"
@@ -412,6 +413,8 @@
           sed -e 's/^htmlxref/.\/htmlxref/' \
               $raw_outdir$dir/$basename.2 > $outdir$dir/$basename.2
         fi
+        test -d "$raw_outdir$dir" && rm -rf "$raw_outdir$dir"
+        # This directory isn't cleaned anywhere else.
 
         diff $DIFF_A_OPTION $DIFF_U_OPTION -r "${staging_dir_res}$dir" 
"${outdir}$dir" 2>>$logfile > "$testdir/$diffs_dir/$diff_base.diff"
         dif_ret=$?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]