diff options
| author | Glenn Morris | 2013-01-02 18:36:29 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-01-02 18:36:29 -0800 |
| commit | 2036b4b8e075479ea5333689e299183b9c2f3ebb (patch) | |
| tree | a41719ba23330fb99f38df3664727142779b4c46 /admin | |
| parent | 035cd741521a450891579979ad889dd753f4795b (diff) | |
| download | emacs-2036b4b8e075479ea5333689e299183b9c2f3ebb.tar.gz 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')
| -rw-r--r-- | admin/ChangeLog | 2 | ||||
| -rwxr-xr-x | admin/check-doc-strings | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index e33c98b97bc..fa001ede6cb 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2013-01-03 Glenn Morris <rgm@gnu.org> | 1 | 2013-01-03 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * check-doc-strings: Update for CVS->bzr, moved lispref/ directory. | ||
| 4 | |||
| 3 | * emacs-pretesters, make-announcement, make-changelog-diff: | 5 | * emacs-pretesters, make-announcement, make-changelog-diff: |
| 4 | Remove files. | 6 | Remove files. |
| 5 | 7 | ||
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. | |||
| 17 | This program is in the public domain.\n"; | 17 | This program is in the public domain.\n"; |
| 18 | 18 | ||
| 19 | die $usage if @ARGV; | 19 | die $usage if @ARGV; |
| 20 | die $usage unless -r "src/alloc.c" && -d "CVS" && -d "lisp"; | 20 | die $usage unless -r "src/alloc.c" && -d ".bzr" && -d "lisp"; |
| 21 | 21 | ||
| 22 | my %texi_funtype; | 22 | my %texi_funtype; |
| 23 | my %texi_arglist; | 23 | my %texi_arglist; |
| @@ -197,10 +197,8 @@ sub Check_function { | |||
| 197 | Show_details $show_details, $function, "@parms", $docstring; | 197 | Show_details $show_details, $function, "@parms", $docstring; |
| 198 | } | 198 | } |
| 199 | 199 | ||
| 200 | my $lisprefdir; | 200 | my $lisprefdir = "doc/lispref"; |
| 201 | if (-d "man/lispref") { $lisprefdir = "man/lispref"; } | 201 | die "Can't find lispref texi directory.\n" unless -d $lisprefdir; |
| 202 | elsif (-d "lispref") { $lisprefdir = "lispref"; } | ||
| 203 | else { die "Can't find lispref texi directory.\n"; } | ||
| 204 | 202 | ||
| 205 | open (FIND, "find $lisprefdir -name '*.texi' -print |") or die; | 203 | open (FIND, "find $lisprefdir -name '*.texi' -print |") or die; |
| 206 | while (my $file = <FIND>) { | 204 | while (my $file = <FIND>) { |