[libvirt] [PATCH 3a/n] build: only install nwfilter examples when building nwfilter

Eric Blake eblake at redhat.com
Wed Sep 4 19:50:19 UTC 2013


On 09/04/2013 07:22 AM, Michal Privoznik wrote:
> On 04.09.2013 04:52, Eric Blake wrote:
>> 'make rpm' with client_local set to 1 (by manual modification,
>> or with RHEL 5 on s390) warns:
>>

>>
>> The bulk of these are fixed with this patch.
>>
>> * examples/xml/nwfilter/Makefile.am (install-data-local)
>> (uninstall-local): Make conditional.
>>
>> Signed-off-by: Eric Blake <eblake at redhat.com>
>> ---
>>
>> This is one alternative; see 3b/n for the other alternative (that
>> is, I'm not sure whether it's better to have the Makefiles match
>> the spec file layout, or to have the spec file paper over
>> unconditional Makefiles).  Preferences?
>>

> I like this approach more, since it fixes Makefile too. We shouldn't be
> installing files we weren't requested.
> 
> ACK to this version.

Yay - that was my personal favorite, too.  Looks like I have some
followup patches to write, for the other instances of 'rm' in the spec
file due to installing unnecessary stuff depending on options chosen.

Pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130904/4dd00913/attachment-0001.sig>


More information about the libvir-list mailing list