Re: Build directory option for configure script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel J Sebald <daniel.sebald@xxxxxxxx> writes, proposing a new
"configure" option:
> it might be something like:
>
> --builddir=DIR           object and libraries
>
> which is essentially the same as doing:
>
> mkdir ../DIR
> cd ../DIR
> ../<projname>/configure OTHER_OPTS
> cd ../<projname>

Following the "configure", the next step will be to run "make".
To do that, the user will need to "cd" into the new directory.
So in a common workflow, this will save only one line of typing,
where:

        mkdir DIR
        cd DIR
        ../configure
        make

becomes

        ./configure --builddir=DIR
        cd DIR
        make

To me, the benefit seems questionable, especially since DIR is
repeated the same number of times in each case, and "mkdir" is
shorter than "--builddir".

(I put my build directories below the source directory, not as
siblings of the source.)

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux