summaryrefslogtreecommitdiff
path: root/admin/check-doc-strings
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-01-02 18:36:29 -0800
committerGlenn Morris <rgm@gnu.org>2013-01-02 18:36:29 -0800
commit2036b4b8e075479ea5333689e299183b9c2f3ebb (patch)
treea41719ba23330fb99f38df3664727142779b4c46 /admin/check-doc-strings
parent035cd741521a450891579979ad889dd753f4795b (diff)
downloademacs-2036b4b8e075479ea5333689e299183b9c2f3ebb.tar.gz
* check-doc-strings: Update for CVS->bzr, moved lispref/ directory.
(Now it actually runs. Whether or not it does anything useful is another matter...)
Diffstat (limited to 'admin/check-doc-strings')
-rwxr-xr-xadmin/check-doc-strings8
1 files changed, 3 insertions, 5 deletions
diff --git a/admin/check-doc-strings b/admin/check-doc-strings
index ef4b203cd79..c69ff47ebfb 100755
--- a/admin/check-doc-strings
+++ b/admin/check-doc-strings
@@ -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>) {