[Top][All Lists]

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

Re: make dist depending on binaries which use gnulib

From: Eric Blake
Subject: Re: make dist depending on binaries which use gnulib
Date: Mon, 29 Mar 2010 10:48:52 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b1 Thunderbird/3.0.3

On 03/29/2010 07:22 AM, Reuben Thomas wrote:
> I have two questions:
> 1. Is it expected that "make dist" should work without a preceding
> "make"? i.e. is this really a bug?

The GNU Coding Standards requires 'make' before 'make dist', so it is
not technically a bug.  However, since 'make dist' is such a handy
shortcut compared to 'make && make dist', many packages go out of their
way to provide this additional guarantee above and beyond GCS.

> 2. If so, then I have a further problem: if I simply make the file in
> question explicitly depend on zile$(EXEEXT), then zile is compiled by
> make dist, but cannot be linked because it needs ../lib/libgnu.a. How
> do I correctly make "make dist" build this?

Is your SUBDIRS list of subdirectories in Makefile.am in dependency
order?  For example, be sure that you list lib prior to src, if src
depends on lib being built.  You can also add an explicit '.' if that helps.

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]