fixed closing of </refentry>
authorFrank Mori Hess <fmhess@speakeasy.net>
Sat, 2 Aug 2003 03:44:13 +0000 (03:44 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sat, 2 Aug 2003 03:44:13 +0000 (03:44 +0000)
doc/mkref

index e0dab58062f3088b39912030f00d6cf19a3d4f77..08f32162403304f23252f12669f3312a6ecc61ed 100755 (executable)
--- a/doc/mkref
+++ b/doc/mkref
@@ -5,6 +5,7 @@ $manvolnum="3";
 $header="#include &lt;comedilib.h&gt;";
 
 $end = "";
+$refentry_end = "";
 
 print
 "<!--This file is autogenerated.  Do not edit-->
@@ -27,6 +28,10 @@ while($s = <>){
                $refname =~ s/_/-/g;
                $refname = "func-ref-" . $refname;
                print $end;
+               print $refentry_end;
+               $refentry_end =
+"</refentry>
+";
                print
 "<refentry id=\"$refname\">
 
@@ -108,9 +113,7 @@ while($s = <>){
 }
 
 print $end;
-print
-"</refentry>
-";
+print $refentry_end;
 print
 "</section>
 ";