Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hey,

I was doing some compiling yesterday, and noticed that "autogen.sh
--help" clobbers your autogen.lastrun.

My original thought was to change the code to fix the bug, but then I
had an idea - make "--help" more useful.

Thus, my idea is to add this to autogen.sh:

my $pos = 0;
for my $arg (@ARGV) {
    if ($arg eq '--help') {
        system ("./help.sh " . $ARGV[$pos+1]);
        exit;
    }
    $pos++;
}

and also add the attached help.sh file.

Basically, it shows a short description for "autogen.sh --help", with
a link to the wiki page and general overview. but you can also do
"autogen.sh --help full" for everything, and "autogen.sh --help speed"
for specific instructions about speed boosting. We can add additional
sections to help.sh if we wanted to - perhaps notes re cgywin or other
helpful docs.

If no one has any objections, I'll push to master.

Cheers,
Josh

Attachment: help.sh
Description: Bourne shell script


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.