updates.
authorPekka Riikonen <priikone@silcnet.org>
Sun, 1 May 2005 08:00:01 +0000 (08:00 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sun, 1 May 2005 08:00:01 +0000 (08:00 +0000)
apps/autodist/autodist.in
scripts/silcdoc/gen.sh
scripts/silcdoc/gen_detail.php
scripts/silcdoc/gen_html_detail.php
scripts/silcdoc/gen_index.php
scripts/silcdoc/silcdoc

index 6da94f7f38418977136b0d726428d0ad0c05b025..f45ac7ccb337fc19d1e715f7b632f83d6416e5b9 100755 (executable)
@@ -1844,15 +1844,18 @@ if test $# != 0; then
   distfile=$distribution
   shift
 fi
+
 ad_parse_distribution $distribution false
-ad_log "  Distribution: $distribution $dist_version"
-ad_log ""
-ad_process_distdefs
 
 if test $# != 0; then
   dist_version="${1}";
 fi
 
+ad_log "  Distribution: $distribution $dist_version"
+ad_log ""
+
+ad_process_distdefs
+
 ad_debug "Preparing source tree for configuration and compilation..."
 ad_debug "Preparing $distribution distribution version $dist_version"
 
index c09c9af2859360d42ddb402dac3883e9566d73de..3fe9452afe96a069536cf6866e90cb1bfa0a2c68 100755 (executable)
@@ -3,6 +3,6 @@
 cat << EOF > tmp.php
 <?php \$page="$4"; \$dest="$1"; \$type="$3"; require "$2"; ?>
 EOF
-php -f tmp.php >$5.tmp
-mv $5.tmp $5
+php -f tmp.php >"$5".tmp
+mv "$5".tmp "$5"
 rm -f tmp.php
index 7b3d1298d137efa57415829c5043dc8fc8482e18..f17fbbb92f9e91476ea44284e980a19a4eeb1a22 100644 (file)
@@ -7,8 +7,7 @@
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
-  the Free Software Foundation; either version 2 of the License, or
-  (at your option) any later version.
+  the Free Software Foundation; version 2 of the License.
 
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
index 999fcb16a6d0f30dea96a8aaba250eae3fdbfaa0..ae7f4493190a6ef4cbc8bdf9a3fa799abdedb771 100644 (file)
@@ -7,8 +7,7 @@
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
-  the Free Software Foundation; either version 2 of the License, or
-  (at your option) any later version.
+  the Free Software Foundation; version 2 of the License.
 
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
index a263d059c7d808ec5ed275df3e8b454889bf0758..b425a7916a7b5f7bf4d0e130ee61e0e914a8f71c 100644 (file)
@@ -7,8 +7,7 @@
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
-  the Free Software Foundation; either version 2 of the License, or
-  (at your option) any later version.
+  the Free Software Foundation; version 2 of the License.
 
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
index 9f7bffcea37b942ee9d6c6fc55c8051752820af1..8425249ec14c828c0fb9f2fc2e139b764bed43c7 100755 (executable)
@@ -104,7 +104,7 @@ if [ "$TYPE" = "HTML" ]; then
   for i in $dfiles
   do
     # Get library name
-    name=`grep "@LIBRARY=" $i |cut -d=  -f2`
+    name=`grep "@LIBRARY=" $i |cut -d=  -f2-`
     fname=`grep "@FILENAME=" $i |cut -d=  -f2`
     links=`grep "@LINK=" $i |cut -d=  -f2 |cut -d:  -f1`
 
@@ -113,7 +113,7 @@ if [ "$TYPE" = "HTML" ]; then
     echo "<a href="$fname"><img src="box.gif" border="0" alt="">$name</a><br />" >>$DST/index.tmpl
     for k in $links
     do
-      n=`grep $k $i |cut -d=  -f2 |cut -d:  -f2`
+      n=`grep $k $i |cut -d=  -f2 |cut -d:  -f2-`
       echo "<li><a href="$k">$n</a>" >>$DST/$fname.links
       echo "&nbsp;&nbsp;&nbsp; <a href="$k"><img src="box2.gif" border="0" alt="">$n</a><br />" >>$DST/index.tmpl
     done
@@ -170,7 +170,7 @@ if [ "$TYPE" = "HTML" ]; then
     files=`find $DST -name ""$i"-*.html"`
     for k in $files
     do
-      sh gen.sh $DST gen_index.php 0 $k $k
+      sh gen.sh $DST gen_index.php 0 "$k" "$k"
     done
 
     rm -f $DST/$i-index.tmpl
@@ -180,7 +180,7 @@ if [ "$TYPE" = "HTML" ]; then
   for i in $dfiles
   do
     # Get library name
-    name=`grep "@LIBRARY=" $i |cut -d=  -f2`
+    name=`grep "@LIBRARY=" $i |cut -d=  -f2-`
     fname=`grep "@FILENAME=" $i |cut -d=  -f2`
 
     # Generate links for this library