]> code.delx.au - gnu-emacs/commitdiff
* check-doc-strings: Update for CVS->bzr, moved lispref/ directory.
authorGlenn Morris <rgm@gnu.org>
Thu, 3 Jan 2013 02:36:29 +0000 (18:36 -0800)
committerGlenn Morris <rgm@gnu.org>
Thu, 3 Jan 2013 02:36:29 +0000 (18:36 -0800)
(Now it actually runs.  Whether or not it does anything useful is
another matter...)

admin/ChangeLog
admin/check-doc-strings

index e33c98b97bca84a74aa3eaaa9c5bf06e083c1a67..fa001ede6cb396cdbea424226a9858b0bd294b06 100644 (file)
@@ -1,5 +1,7 @@
 2013-01-03  Glenn Morris  <rgm@gnu.org>
 
+       * check-doc-strings: Update for CVS->bzr, moved lispref/ directory.
+
        * emacs-pretesters, make-announcement, make-changelog-diff:
        Remove files.
 
index ef4b203cd79077ad5bc35cf38cd68e7a6ce22f01..c69ff47ebfbd754153608f44d56e74084238bd43 100755 (executable)
@@ -17,7 +17,7 @@ formal parameters, docstrings, and lispref texi.
 This program is in the public domain.\n";
 
 die $usage if @ARGV;
-die $usage unless -r "src/alloc.c" && -d "CVS" && -d "lisp";
+die $usage unless -r "src/alloc.c" && -d ".bzr" && -d "lisp";
 
 my %texi_funtype;
 my %texi_arglist;
@@ -197,10 +197,8 @@ sub Check_function {
   Show_details $show_details, $function, "@parms", $docstring;
 }
 
-my $lisprefdir;
-if    (-d "man/lispref") { $lisprefdir = "man/lispref"; }
-elsif (-d "lispref") { $lisprefdir = "lispref"; }
-else { die "Can't find lispref texi directory.\n"; }
+my $lisprefdir = "doc/lispref";
+die "Can't find lispref texi directory.\n" unless -d $lisprefdir;
 
 open (FIND, "find $lisprefdir -name '*.texi' -print |") or die;
 while (my $file = <FIND>) {