[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCHv2 1/3] build: rename generated files to .h, for automake's sake



2011/5/6 Eric Blake <eblake redhat com>:
> In preparation for removing generated files, it is necessary
> to tell automake that the generated files must be distributed
> but not directly compiled (since they are included into the
> body of a larger .c file that is compiled).  Hence, even though
> these files are code and not headers in the strict sense of
> the word, it is easier to rename them to .h for automake's sake.
>
> * daemon/remote_client_bodies.c: Rename to .h.
> * daemon/qemu_client_bodies.c: Likewise.
> * src/remote/remote_client_bodies.c: Likewise.
> * src/remote/qemu_client_bodies.c: Likewise.
> * daemon/Makefile.am (remote_dispatch_bodies.c)
> (qemu_dispatch_bodies.c): Rename to .h.
> (remote.c, EXTRA_DIST): Reflect rename.
> * daemon/remote.c: Likewise.
> * daemon/remote_generator.pl: Likewise.
> * src/Makefile.am (remote/remote_driver.c): Likewise.
> * src/remote/remote_driver.c: Likewise.
> * po/POTFILES.in: Likewise.
> * cfg.mk (exclude_file_name_regexp--sc_require_config_h)
> (exclude_file_name_regexp--sc_require_config_h_first)
> (exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF):
> Likewise.
> ---
>  cfg.mk                                             |    8 +++-----
>  daemon/Makefile.am                                 |   12 ++++++------
>  ...mu_dispatch_bodies.c => qemu_dispatch_bodies.h} |    0
>  daemon/remote.c                                    |    4 ++--
>  ..._dispatch_bodies.c => remote_dispatch_bodies.h} |    0
>  daemon/remote_generator.pl                         |    4 ++--
>  po/POTFILES.in                                     |    4 ++--
>  src/Makefile.am                                    |    8 ++++----
>  .../{qemu_client_bodies.c => qemu_client_bodies.h} |    0
>  ...mote_client_bodies.c => remote_client_bodies.h} |    0
>  src/remote/remote_driver.c                         |    4 ++--
>  11 files changed, 21 insertions(+), 23 deletions(-)
>  rename daemon/{qemu_dispatch_bodies.c => qemu_dispatch_bodies.h} (100%)
>  rename daemon/{remote_dispatch_bodies.c => remote_dispatch_bodies.h} (100%)
>  rename src/remote/{qemu_client_bodies.c => qemu_client_bodies.h} (100%)
>  rename src/remote/{remote_client_bodies.c => remote_client_bodies.h} (100%)
>

ACK.

Matthias


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]