This is the mail archive of the cygwin-apps@cygwin.com 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]

Re: Possible bug with generic build script.


On Wed, 13 Oct 2004, Charles Wilson wrote:

> Igor Pechtchanski wrote:
>
> > You're right, it *is* broken.  It was never intended to be used with
> > subdirectories, so I never tested it.  I'll try to come up with a way
> > of accomodating subdirs shortly.

In fact, it shouldn't've worked with wildcards either, the way it was
written...  Oops.  The new patch should fix it, though -- still waiting on
the confirmation.

> I use tar when I need to do that, in my locally-modified gbs's.
> Something like this:
>
> (cd theDocDirInSrcTree; tar cf aSubDir |\
>    tar -C ${instdir}${prefix}/share/doc/${PKG}-${VER} -xvf -)
>
> repeat as needed, or use a filelist of some kind instead of aSubDir.

Hey, neat.  This won't be needed if the filename is a wildcard, but if
it's just a directory name, this could be useful.  I'm wondering whether
to require people to explicitly specify wildcards (which will make the
code clearer anyway), or to allow the use of directory names...  IOW,
'aSubDir/*' vs. 'aSubDir'...  I suppose if the tree at aSubDir is more
than one level deep...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw


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