[Mesa-dev] [PATCH 01/10] build: Get rid of CORE_DIRS

Matt Turner mattst88 at gmail.com
Mon Feb 25 14:28:35 PST 2013


On Mon, Feb 25, 2013 at 2:21 PM, Eric Anholt <eric at anholt.net> wrote:
> Matt Turner <mattst88 at gmail.com> writes:
>
>> A step toward working make dist/distcheck.
>> ---
>>  Makefile.am  |   28 +++++++++++++++++++++++++++-
>>  configure.ac |   36 +++++++-----------------------------
>>  2 files changed, 34 insertions(+), 30 deletions(-)
>>
>> diff --git a/Makefile.am b/Makefile.am
>> index 0ce9455..78ecfab 100644
>> --- a/Makefile.am
>> +++ b/Makefile.am
>> @@ -19,7 +19,33 @@
>>  # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
>>  # IN THE SOFTWARE.
>>
>> -SUBDIRS = src
>> +SUBDIRS = src/gtest src/mapi/glapi/gen
>> +
>> +if HAVE_SHARED_GLAPI
>> +SUBDIRS += src/mapi/shared-glapi
>> +endif
>
> Is there a reason these aren't all added to src/Makefile.am instead?

Just a question of whether we'd rather recurse into src/ in order to
recurse into src/{...}. If keeping the top-level Makefile.am smaller
is what we want, I'll move the SUBDIRS += ... into src/Makefile.am. As
it stands though, patch 2 kills src/Makefile.am.

>
> I like where this is going, though...


More information about the mesa-dev mailing list