[Xcb] another "no rule to make target `xproto.c'"

Josh Triplett josh at freedesktop.org
Fri Jul 7 21:41:51 PDT 2006


Vincent Torri wrote:
> 
> On Thu, 6 Jul 2006, Josh Triplett wrote:
> 
>> Alex A. Schmidt wrote:
>>> Hello Josh,
>>>
>>> Thanks for the reply and yes, I do use GNU make (3.80).
>>>
>>> Well, it turns out that my problem with xproto.c was something
>>> else after all. A "make clean" or "make distclean" in the libxcb-0.9
>>> directory actually erases xcb_types.c, xcb_types.h, xproto.c and
>>> xproto.h files in the src sub-directoty!! I have tested this again
>>> from scratch and it does happen. Is this a gnu make bug or
>>> just a problem with the libxcb-0.9 Makefiles ?
>> This occurs intentionally; these files get automatically generated from
>> XML descriptions of the X Window System protocol contained in the
>> xcb-proto package.  XCB ships the files generated, but a clean will
>> remove them and a rebuild should regenerate them.
>>
>> That said, perhaps we should treat those source files like automake and
>> autoconf output, assume that an end-user compiling the software might
>> not have xsltproc, and move the removal of those source files to "make
>> maintainer-clean".
> 
> Adding a test for xsltproc must be done.

We have a test, it just currently errors out if it doesn't find xsltproc.

- Josh Triplett


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20060707/b23b012e/signature.pgp


More information about the Xcb mailing list