[Xcb] another "no rule to make target `xproto.c'"
Josh Triplett
josh at freedesktop.org
Thu Jul 6 23:32:55 PDT 2006
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".
- 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/20060706/228f3855/signature.pgp
More information about the Xcb
mailing list