foo-doc.{top,bottom}



The generation of these files was removed in the big commit of
23 Jan. This breaks various makefiles - if it is intentional,
I can fix up the makefiles. If not, can I apply the following?

Thanks,
                                        Owen

Index: gtkdoc-mkdb.in
===================================================================
RCS file: /cvs/gnome/gtk-doc/gtkdoc-mkdb.in,v
retrieving revision 1.23
diff -u -r1.23 gtkdoc-mkdb.in
--- gtkdoc-mkdb.in	2001/03/26 21:27:14	1.23
+++ gtkdoc-mkdb.in	2001/04/12 21:07:29
@@ -330,7 +330,7 @@
     }
     close (INPUT);
 
-    return $changed;
+    &OutputBook ($book_top, $book_bottom) || $changed;
 }
 
 
@@ -1098,7 +1098,7 @@
     print OUTPUT $book_top;
     close (OUTPUT);
 
-    &UpdateFileIfChanged ($old_file, $new_file, 0);
+    my $changed = &UpdateFileIfChanged ($old_file, $new_file, 0);
 
 
     $old_file = "$SGML_OUTPUT_DIR/$MODULE-doc.bottom";
@@ -1109,7 +1109,7 @@
     print OUTPUT $book_bottom;
     close (OUTPUT);
 
-    &UpdateFileIfChanged ($old_file, $new_file, 0);
+    &UpdateFileIfChanged ($old_file, $new_file, 0) || $changed;
 }
 
 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]