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

Vincent Torri Vincent.Torri at iecn.u-nancy.fr
Fri Jul 7 00:02:20 PDT 2006



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.

Vincent


More information about the Xcb mailing list