emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r111407: * check-doc-strings: Update


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111407: * check-doc-strings: Update for CVS->bzr, moved lispref/ directory.
Date: Wed, 02 Jan 2013 18:36:29 -0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111407
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2013-01-02 18:36:29 -0800
message:
  * check-doc-strings: Update for CVS->bzr, moved lispref/ directory.
  (Now it actually runs.  Whether or not it does anything useful is
  another matter...)
modified:
  admin/ChangeLog
  admin/check-doc-strings
=== modified file 'admin/ChangeLog'
--- a/admin/ChangeLog   2013-01-03 02:29:46 +0000
+++ b/admin/ChangeLog   2013-01-03 02:36:29 +0000
@@ -1,5 +1,7 @@
 2013-01-03  Glenn Morris  <address@hidden>
 
+       * check-doc-strings: Update for CVS->bzr, moved lispref/ directory.
+
        * emacs-pretesters, make-announcement, make-changelog-diff:
        Remove files.
 

=== modified file 'admin/check-doc-strings'
--- a/admin/check-doc-strings   2011-01-15 23:16:57 +0000
+++ b/admin/check-doc-strings   2013-01-03 02:36:29 +0000
@@ -17,7 +17,7 @@
 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 @@
   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>) {


reply via email to

[Prev in Thread] Current Thread [Next in Thread]