diff options
author | Glenn Morris <rgm@gnu.org> | 2013-01-02 18:36:29 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-01-02 18:36:29 -0800 |
commit | 2036b4b8e075479ea5333689e299183b9c2f3ebb (patch) | |
tree | a41719ba23330fb99f38df3664727142779b4c46 /admin/check-doc-strings | |
parent | 035cd741521a450891579979ad889dd753f4795b (diff) | |
download | emacs-2036b4b8e075479ea5333689e299183b9c2f3ebb.tar.gz emacs-2036b4b8e075479ea5333689e299183b9c2f3ebb.tar.bz2 emacs-2036b4b8e075479ea5333689e299183b9c2f3ebb.zip |
* 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-x | admin/check-doc-strings | 8 |
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>) { |