Proposal: Remove autotool-generated files from setup CVS

Max Bowsher maxb@ukf.net
Wed Mar 5 20:50:00 GMT 2003


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.



More information about the Cygwin-apps mailing list