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

raeburn raeburn@source.lon-capa.org
Thu, 06 Jan 2011 18:11:42 -0000


raeburn		Thu Jan  6 18:11:42 2011 EDT

  Modified files:              
    /doc/help	rebuildLabelHash.pl 
  Log:
  - Prevent errors being reported about missing files in the label hash during the build 
    process.
  
  
Index: doc/help/rebuildLabelHash.pl
diff -u doc/help/rebuildLabelHash.pl:1.11 doc/help/rebuildLabelHash.pl:1.12
--- doc/help/rebuildLabelHash.pl:1.11	Thu Jul 24 21:51:38 2008
+++ doc/help/rebuildLabelHash.pl	Thu Jan  6 18:11:42 2011
@@ -105,7 +105,10 @@
 	if (!exists($fragmentLabels{$ref})
 	    && $ref ne 'course.manual.access.hlp'
 	    && $ref ne 'author.manual.access.hlp'
-            && $ref ne 'domain.manual.access.hlp') {
+            && $ref ne 'domain.manual.access.hlp'
+            && $ref ne 'course.manual.pdf'
+            && $ref ne 'author.manual.pdf'
+            && $ref ne 'domain.manual.pdf') {
 	    $error++;
 	    print("***ERROR: ref $ref in $file doesn't exist in label hash. \n");
 	} else {