This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Ignore CVS directories when building documentation


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  <pechtcha@cs.nyu.edu>

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

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
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"

Attachment: doctool-cvs-dir-fix.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]