[LON-CAPA-cvs] cvs: doc /help rebuildLabelHash.pl

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Thu, 24 Jul 2008 21:51:41 -0000


raeburn		Thu Jul 24 17:51:41 2008 EDT

  Modified files:              
    /doc/help	rebuildLabelHash.pl 
  Log:
  - Add entries for Domain Coordination Manual.
  
  
Index: doc/help/rebuildLabelHash.pl
diff -u doc/help/rebuildLabelHash.pl:1.10 doc/help/rebuildLabelHash.pl:1.11
--- doc/help/rebuildLabelHash.pl:1.10	Fri Aug 24 19:50:28 2007
+++ doc/help/rebuildLabelHash.pl	Thu Jul 24 17:51:38 2008
@@ -104,7 +104,8 @@
     foreach my $ref ( $contents =~ /\\ref\{([^\}]*)\}/g ) {
 	if (!exists($fragmentLabels{$ref})
 	    && $ref ne 'course.manual.access.hlp'
-	    && $ref ne 'author.manual.access.hlp') {
+	    && $ref ne 'author.manual.access.hlp'
+            && $ref ne 'domain.manual.access.hlp') {
 	    $error++;
 	    print("***ERROR: ref $ref in $file doesn't exist in label hash. \n");
 	} else {
@@ -114,7 +115,7 @@
 }
 
 use HTML::TokeParser;
-foreach my $manual ('course.manual.texxml','author.manual.texxml') {
+foreach my $manual ('course.manual.texxml','author.manual.texxml','domain.manual.texxml') {
     my $p = HTML::TokeParser->new($path.'/'.$manual);
     if (!-e $path.'/'.$manual) {
 	$error++;