gtk-doc r698 - trunk



Author: stefkost
Date: Tue Mar 10 13:30:39 2009
New Revision: 698
URL: http://svn.gnome.org/viewvc/gtk-doc?rev=698&view=rev

Log:
	* gtkdoc-fixxref.in:
	  Don't expect $MODULE to be defined (e.g. if someone does not update
	  gtkdoc.make).



Modified:
   trunk/ChangeLog
   trunk/gtkdoc-fixxref.in

Modified: trunk/gtkdoc-fixxref.in
==============================================================================
--- trunk/gtkdoc-fixxref.in	(original)
+++ trunk/gtkdoc-fixxref.in	Tue Mar 10 13:30:39 2009
@@ -273,7 +273,7 @@
     if ($href) {
         # if it is a link to same module, remove path to make it work
         # uninstalled
-        if ($href =~ m%^\.\./$MODULE/(.*)$%) {
+        if (defined($MODULE) && $href =~ m%^\.\./$MODULE/(.*)$%) {
             $href=$1;
         }
         #print "  Fixing link: $id, $href, $text\n";



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