Author: frank
Date: 2005-10-19 09:53:34 +0000 (Wed, 19 Oct 2005)
New Revision: 282

Modified:
   tetex-base/trunk/debian/changelog
   tetex-base/trunk/debian/patches/patch-doc
Log:
 * Make index-tetexdoc work with filenames with spaces in them (closes:
   #334643) [frank]


Modified: tetex-base/trunk/debian/changelog
===================================================================
--- tetex-base/trunk/debian/changelog   2005-10-19 09:29:51 UTC (rev 281)
+++ tetex-base/trunk/debian/changelog   2005-10-19 09:53:34 UTC (rev 282)
@@ -3,8 +3,10 @@
   * Remove unneeded file /usr/share/doc/texmf/Makefile from tetex-doc
     which caused a conflict with old tetex-base (closes: #334659) [frank]
   * Install changelog.Debian.experimental (closes: #334655) [frank]
+  * Make index-tetexdoc work with filenames with spaces in them (closes:
+    #334643) [frank]
 
- -- Frank Küster <[EMAIL PROTECTED]>  Wed, 19 Oct 2005 11:28:44 +0200
+ -- Frank Küster <[EMAIL PROTECTED]>  Wed, 19 Oct 2005 11:46:32 +0200
 
 tetex-base (3.0-9) unstable; urgency=low
 

Modified: tetex-base/trunk/debian/patches/patch-doc
===================================================================
--- tetex-base/trunk/debian/patches/patch-doc   2005-10-19 09:29:51 UTC (rev 
281)
+++ tetex-base/trunk/debian/patches/patch-doc   2005-10-19 09:53:34 UTC (rev 
282)
@@ -4,8 +4,8 @@
 
 Index: tetex-base-3.0/doc/index.html
 ===================================================================
---- tetex-base-3.0.orig/doc/index.html 2005-10-17 11:43:25.000000000 +0200
-+++ tetex-base-3.0/doc/index.html      2005-10-17 11:55:09.000000000 +0200
+--- tetex-base-3.0.orig/doc/index.html 2005-10-18 17:27:19.000000000 +0200
++++ tetex-base-3.0/doc/index.html      2005-10-19 11:43:19.108676841 +0200
 @@ -95,15 +95,17 @@
  </form>
  </td></tr></table><br/><br/>
@@ -1122,9 +1122,9 @@
  
 Index: tetex-base-3.0/doc/mkhtml.nawk
 ===================================================================
---- tetex-base-3.0.orig/doc/mkhtml.nawk        2005-10-17 11:43:25.000000000 
+0200
-+++ tetex-base-3.0/doc/mkhtml.nawk     2005-10-17 11:55:29.000000000 +0200
-@@ -1,12 +1,26 @@
+--- tetex-base-3.0.orig/doc/mkhtml.nawk        2005-10-18 17:27:19.000000000 
+0200
++++ tetex-base-3.0/doc/mkhtml.nawk     2005-10-19 11:44:31.333736784 +0200
+@@ -1,16 +1,30 @@
 -#!/bin/sh
 +#!/bin/sh -e
  
@@ -1153,7 +1153,12 @@
                echo "<h2>$i</h2><P>"
                echo '<ul>'
                for j in help/*; do
-@@ -19,7 +33,7 @@
+-                      if [ -f $j/index.html ]; then
++                      if [ -f "$j/index.html" ]; then
+                               echo "<li><a href=\"$j/index.html\">`basename 
$j`</a>"
+                       else
+                               echo "<li><a href=\"$j\">`basename $j`</a>"
+@@ -19,14 +33,14 @@
                echo '</ul>'
                continue
        fi
@@ -1162,6 +1167,24 @@
                echo "<h2>$i</h2><P>"
                echo '<ul>'
                for j in $i/*.html $i/*.html.gz $i/*.dvi $i/*.ps $i/*.tex 
$i/*.dvi.gz $i/*.ps.gz $i/*.tex.gz $i/*.pdf; do
+-                      test -f $j && echo "<li><a href=\"$j\">`basename 
$j`</a>"
++                      test -f "$j" && echo "<li><a href=\"$j\">`basename 
$j`</a>"
+               done
+               for j in $i/*; do
+-                      test -d $j || continue
++                      test -d "$j" || continue
+                       test -f `echo $j/*.html | sed 's/ .*//'` ||
+                       test -f `echo $j/*.html.gz | sed 's/ .*//'` ||
+                       test -f `echo $j/*.ps.gz | sed 's/ .*//'` ||
+@@ -37,7 +51,7 @@
+                       echo '<li>'`basename $j`
+                       echo '<ul>'
+                       for k in $i/*.html $i/*.html.gz $j/*.dvi $j/*.ps 
$j/*.tex $j/*.dvi.gz $j/*.ps.gz $j/*.tex.gz $j/*.pdf $j/Seminar-Bugs.html 
$j/Seminar-FAQ.html; do
+-                              test -f $k || continue
++                              test -f "$k" || continue
+                               echo "<li><a href=\"$k\">`basename $k`</a>"
+                       done
+                       echo '</ul>'
 @@ -78,7 +92,7 @@
          next;
  }


_______________________________________________
Pkg-tetex-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-tetex-commits

Reply via email to