texinfo-commits
[Top][All Lists]
Advanced

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

[5499] gendocs.sh: look for images in .


From: karl
Subject: [5499] gendocs.sh: look for images in .
Date: Thu, 01 May 2014 17:25:23 +0000

Revision: 5499
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5499
Author:   karl
Date:     2014-05-01 17:25:21 +0000 (Thu, 01 May 2014)
Log Message:
-----------
gendocs.sh: look for images in . as well as -I dirs

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/util/gendocs.sh

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-05-01 17:13:09 UTC (rev 5498)
+++ trunk/ChangeLog     2014-05-01 17:25:21 UTC (rev 5499)
@@ -1,5 +1,9 @@
 2014-05-01  Karl Berry  <address@hidden>
 
+       * util/gendocs.sh (copy_images): look for images in . as well
+       as -I directories.
+       Report from Arnold, 29 Apr 2014 15:43:08.
+
        * util/gendocs.sh (--no-html, --no-info, --no-tex): new options.
 
 2014-04-29  Gavin Smith  <address@hidden>

Modified: trunk/util/gendocs.sh
===================================================================
--- trunk/util/gendocs.sh       2014-05-01 17:13:09 UTC (rev 5498)
+++ trunk/util/gendocs.sh       2014-05-01 17:25:21 UTC (rev 5499)
@@ -142,7 +142,7 @@
 address@hidden  # please override with --email
 commonarg= # passed to all makeinfo/texi2html invcations.
 dirargs=   # passed to all tools (-I dir).
-dirs=      # -I's directories.
+dirs=      # -I directories.
 htmlarg=
 infoarg=--no-split
 generate_ascii=true
@@ -230,8 +230,9 @@
 
 # copy_images OUTDIR HTML-FILE...
 # -------------------------------
-# Copy all the images needed by the HTML-FILEs into OUTDIR.  Look
-# for them in the -I directories.
+# Copy all the images needed by the HTML-FILEs into OUTDIR.
+# Look for them in . and the -I directories; this is simpler than what
+# makeinfo supports with -I, but hopefully it will suffice.
 copy_images()
 {
   local odir
@@ -241,7 +242,7 @@
 BEGIN {
   \$me = '$prog';
   \$odir = '$odir';
-  @dirs = qw($dirs);
+  @dirs = qw(. $dirs);
 }
 " -e '
 /<img src="(.*?)"/g && ++$need{$1};




reply via email to

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