From 82f3f20381d78d93742a1a466b5fe21b5b2d39ea Mon Sep 17 00:00:00 2001
From: Frank Mori Hess <fmhess@speakeasy.net>
Date: Sat, 2 Aug 2003 03:44:13 +0000
Subject: [PATCH] fixed closing of </refentry>

---
 doc/mkref | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/doc/mkref b/doc/mkref
index e0dab58..08f3216 100755
--- 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>
 ";
-- 
2.26.2