WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [PATCH V5 2/3] libxl: Introduce libxl_internal_types

To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH V5 2/3] libxl: Introduce libxl_internal_types.idl.
From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
Date: Tue, 28 Jun 2011 12:11:37 +0100
Cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>, Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Tue, 28 Jun 2011 04:16:46 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=45BwF7IW+bT1dz9ObG4i26HE98zDVbbx3d9xftV+hlg=; b=lr8/HN/a4S5B4EtexYW1mhlX+sRaiISHcedubdHed91P4SHlyQIWOk66Z4JYXEcgmj 46llXZSx3EslBHJoLCJgC9I7pk8fa/tvt0Y/Z4d3UcyZeuR7DJ4inS/6Gtq4of3kP/j9 foqBGUe+DAADxtBuv7sipfYZ7cL+HDCIXVX0U=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1309251473.32717.275.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1309187551-21538-1-git-send-email-anthony.perard@xxxxxxxxxx> <1309187551-21538-3-git-send-email-anthony.perard@xxxxxxxxxx> <1309188011.32717.244.camel@xxxxxxxxxxxxxxxxxxxxxx> <BANLkTimUOWVAS0md1JxxOm5-ozXuCCWnhQ@xxxxxxxxxxxxxx> <1309251473.32717.275.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Jun 28, 2011 at 09:57, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx> wrote:
>
>> >>  _libxl_%.h _libxl_%.c: libxl.idl gen%.py libxl%.py
>> >>       $(PYTHON) gen$*.py libxl.idl __libxl_$*.h __libxl_$*.c
>> >
>> > If you simply s/gen$*.py/gentypes.py/ and s/libxl.idl/libxl$*.idl/g and
>> > leave the other patterns does this rule work for both IDL files?
>>
>> Yes, it's works, with a `mv libxl.idl libxl_types.idl`.
>
> Can you incorporate the _types into the rule itself or does make not
> allow for % to match zero-characters?

I tried, but make did not "see" the rules. So % need to be at least
one characters. I could incorporate just '_type', so we will know that
the rule is for types.

-- 
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel