Avoid "make distcheck" failure.

* src/Makefile.am (virsh_SOURCES): Add util-lib.h.
This commit is contained in:
Jim Meyering 2008-02-27 15:17:45 +00:00
parent d7cdc28431
commit fa4ab3325b
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Wed Feb 27 15:39:10 CET 2008 Jim Meyering <meyering@redhat.com> Wed Feb 27 15:39:10 CET 2008 Jim Meyering <meyering@redhat.com>
Avoid "make distcheck" failure.
* src/Makefile.am (virsh_SOURCES): Add util-lib.h.
Fix a "make syntax-check" failure. Fix a "make syntax-check" failure.
* src/capabilities.c: Include <config.h> from the .c file, * src/capabilities.c: Include <config.h> from the .c file,
* src/capabilities.h: ... not from the .h file. * src/capabilities.h: ... not from the .h file.

View File

@ -101,7 +101,7 @@ libvirt_la_CFLAGS = $(COVERAGE_CFLAGS) -DIN_LIBVIRT
bin_PROGRAMS = virsh bin_PROGRAMS = virsh
virsh_SOURCES = virsh.c console.c console.h util-lib.c virsh_SOURCES = virsh.c console.c console.h util-lib.c util-lib.h
virsh_LDFLAGS = $(WARN_CFLAGS) $(COVERAGE_LDFLAGS) virsh_LDFLAGS = $(WARN_CFLAGS) $(COVERAGE_LDFLAGS)
virsh_DEPENDENCIES = $(DEPS) virsh_DEPENDENCIES = $(DEPS)
virsh_LDADD = $(LDADDS) $(VIRSH_LIBS) virsh_LDADD = $(LDADDS) $(VIRSH_LIBS)