Handle des_modes.pod properly.
authorRichard Levitte <levitte@openssl.org>
Wed, 11 Jun 2003 19:44:37 +0000 (19:44 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 11 Jun 2003 19:44:37 +0000 (19:44 +0000)
PR: 634

Makefile.org
util/extract-names.pl
util/point.sh

index 141956a..2b9e5f8 100644 (file)
@@ -580,7 +580,7 @@ install_docs:
                        grep -v $$filecase "^$$fn\$$" | \
                        (cd $(INSTALL_PREFIX)$(MANDIR)/man$$sec/; \
                         while read n; do \
-                               $$here/util/point.sh $$fn.$${sec}$(MANSUFFIX) $$n.$${sec}$(MANSUFFIX); \
+                               $$here/util/point.sh $$fn.$${sec}$(MANSUFFIX) "$$n".$${sec}$(MANSUFFIX); \
                         done); \
        done; \
        for i in doc/crypto/*.pod doc/ssl/*.pod; do \
@@ -596,7 +596,7 @@ install_docs:
                        grep -v $$filecase "^$$fn\$$" | \
                        (cd $(INSTALL_PREFIX)$(MANDIR)/man$$sec/; \
                         while read n; do \
-                               $$here/util/point.sh $$fn.$${sec}$(MANSUFFIX) $$n.$${sec}$(MANSUFFIX); \
+                               $$here/util/point.sh $$fn.$${sec}$(MANSUFFIX) "$$n".$${sec}$(MANSUFFIX); \
                         done); \
        done
 
index d413a04..9f2ad5e 100644 (file)
@@ -9,8 +9,8 @@ while(<STDIN>) {
     } elsif ($name) {
        if (/ - /) {
            s/ - .*//;
-           s/[ \t,]+/ /g;
-           push @words, split ' ';
+           s/,[ \t]+/,/g;
+           push @words, split ',';
        }
     }
     if (/^=head1 *NAME *$/) {
index ce7dcc5..4790e08 100755 (executable)
@@ -1,10 +1,10 @@
 #!/bin/sh
 
-rm -f $2
+rm -f "$2"
 if test "$OSTYPE" = msdosdjgpp; then
-    cp $1 $2
+    cp "$1" "$2"
 else
-    ln -s $1 $2
+    ln -s "$1" "$2"
 fi
 echo "$2 => $1"