[PATCH modular] Allow --cmd option to accept 'gmake'.

Trevor Woerner twoerner at gmail.com
Fri Oct 22 12:57:07 PDT 2010


On Fri, Oct 22, 2010 at 3:47 PM, Gaetan Nadon <memsize at videotron.ca> wrote:
> $ util/modular/build.sh -o util/macros --cmd bogus /home/nadon/xorg/src
> The script can only process 'make', 'gmake', or 'git' commands
> It can't process 'bogus' commands

The reason I differentiate between "make"-ish commands and "git"-ish
commands is because in the processing phase they are handled in
different locations.

Any "git"-ish command is handled early, then the rest of the
processing is skipped. Any "make"-ish commands are processed after:
- checking for pull
- building outside the source directory
- running the autogen.sh/configure

So basically, the script wouldn't know when to perform the arbitrary
command; whether it should be done early, or after a lot of other
processing.


More information about the xorg-devel mailing list