2011/5/6 Eric Blake <eblake@xxxxxxxxxx>: > 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 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list