I have finally been able to debug the problem with make install_docs
under DJGPP. Part of the problem relates to lack of symbolic links.
The other has to do with filenames with different case actually
referring to the same file (i.e. hmac.3 and HMAC.3 are the same file
on a DOS/Windows system). This patch should fix the problem and allow
the documentation to be installed. The only drawback is that man
files with names identical to the original except for case will no
longer be linked. For example, it no longer makes a link of HMAC.3 to
hmac.3. I hope that the regex construction "\>" is portable and not a
GNU extension. If it isn't portable, then "$$fn\>" probably needs to be
changed to something like "$$fn[^a-z_]*".
                         Doug

__
Doug Kaufman
Internet: [EMAIL PROTECTED]
--- openssl-0.9.7/Makefile.org.orig     2002-12-06 01:11:00.000000000 -0800
+++ openssl-0.9.7/Makefile.org  2002-12-11 23:03:12.000000000 -0800
@@ -778,9 +778,9 @@
                        --section=$$sec --center=OpenSSL \
                        --release=$(VERSION) `basename $$i`") \
                        >  $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$$sec; \
-               $(PERL) util/extract-names.pl < $$i | grep -v "^$$fn" | \
+               $(PERL) util/extract-names.pl < $$i | grep -v -i "^$$fn\>" | \
                        while read n; do \
-                               util/point.sh $$fn.$$sec 
$(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$n.$$sec; \
+                               util/point.sh 
+$(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$$sec 
+$(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$n.$$sec; \
                        done; \
        done; \
        for i in doc/crypto/*.pod doc/ssl/*.pod; do \
@@ -792,9 +792,9 @@
                        --section=$$sec --center=OpenSSL \
                        --release=$(VERSION) `basename $$i`") \
                        >  $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$$sec; \
-               $(PERL) util/extract-names.pl < $$i | grep -v "^$$fn" | \
+               $(PERL) util/extract-names.pl < $$i | grep -v -i "^$$fn\>" | \
                        while read n; do \
-                               util/point.sh $$fn.$$sec 
$(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$n.$$sec; \
+                               util/point.sh 
+$(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$$sec 
+$(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$n.$$sec; \
                        done; \
        done
 

Reply via email to