Ignore CVS directories when building documentation

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Ignore CVS directories when building documentation

Igor Peshansky
The doctool program recursively searches for SGML/XML chunks in
subdirectories.  CVS keeps base copies of "cvs edit"ed files in CVS/Base.
Including both the base copy and the modified file results in duplicate
ids and other validation errors (not to mention wrong output).  This patch
tells doctool to ignore CVS directories during recursive traversals.

As usual, the ChangeLog is below.
        Igor
==============================================================================
2006-01-11  Igor Peshansky  <[hidden email]>

        * doctool.c (scan_directory): Ignore "CVS" directories.

--
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_    [hidden email] | [hidden email]
ZZZzz /,`.-'`'    -.  ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-' old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

doctool-cvs-dir-fix.patch (678 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Ignore CVS directories when building documentation

Corinna Vinschen-2
On Jan 11 21:32, Igor Peshansky wrote:
> * doctool.c (scan_directory): Ignore "CVS" directories.

Thanks, applied.


Corinna

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat