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: Proposal: Remove autotool-generated files from setup CVS


Robert Collins wrote:
> On Thu, 2003-03-06 at 07:05, Max Bowsher wrote:
>> I propose removing autotool-generated files from setup CVS.
>
> I am ok with this. I'm not going to participate in a flamefest like
> that occuring when I introduced libgetopt++ w/o generated files.
>
> So... if no-one speaks up against this in the next week, we'll remove
> the auto-tool generated files.
>
>> There is already a bootstrap.sh script in the setup directory.
>> Should I make it recurse into libgetopt++ automatically?
>
> No thanks. There's no need to regenerate libgetopt++ after changing a
> setup.exe auto* file, and vice verca.

How about:

if [ ! -f libgetopt++/configure ]; then
    cd libgetopt++
    ./bootstrap.sh
fi


Also, how about:

if [ ! -f cygpackage.cc ]; then
    echo "You must run this script from the directory containing it"
    exit 1
fi

And similarly for libgetopt++/bootstrap.sh :

if [ ! -f src/GetOption.cc ]; then
    echo "You must run this script from the directory containing it"
    exit 1
fi

At the moment, the error messages are less than clear, if you make this
mistake.

Max.


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