]> xenbits.xensource.com Git - libvirt.git/commitdiff
src: logging: generate source files into build directory
authorPavel Hrdina <phrdina@redhat.com>
Wed, 16 Oct 2019 12:49:44 +0000 (14:49 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 8 Nov 2019 16:07:57 +0000 (17:07 +0100)
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
.gitignore
build-aux/syntax-check.mk
src/logging/Makefile.inc.am

index ed11b779212fb4b0714c6ebb3acdefe3d4ab6765..eaad5a18839bb2bcceef034b0a0ef4267b6cccfd 100644 (file)
@@ -41,7 +41,6 @@ Makefile.in
 # libvirt related ignores
 /build/
 /ci/scratch/
-/src/logging/log_daemon_dispatch_stubs.h
 /src/lxc/lxc_controller_dispatch.h
 /src/lxc/lxc_monitor_dispatch.h
 /src/remote/*_client_bodies.h
index 62fe528c7509ae8479e8f5b87dcf9ad73a1dc741..a7e87e7a81c008be9592dc1aa4bd3ef383f50347 100644 (file)
@@ -1976,7 +1976,7 @@ po_file ?= $(srcdir)/po/POTFILES.in
 generated_files = \
   $(builddir)/src/*.[ch] \
   $(builddir)/src/*/*.[ch] \
-  $(srcdir)/src/*/{remote,qemu,lxc,log}_daemon_dispatch_stubs.h \
+  $(srcdir)/src/*/{remote,qemu,lxc}_daemon_dispatch_stubs.h \
   $(srcdir)/src/lxc/{lxc_monitor,lxc_controller}_dispatch.h \
   $(srcdir)/src/remote/*_client_bodies.h \
   $(srcdir)/gnulib/lib/*.[ch]
index bb7ea7338dc50e28dafd3694015a446058a94281..dbaac2bb0d161e5b6bcb26fac60aac229d2a3946 100644 (file)
@@ -127,7 +127,7 @@ logging/log_daemon_dispatch_stubs.h: $(LOG_PROTOCOL) \
                $(srcdir)/rpc/gendispatch.pl Makefile.am
        $(AM_V_GEN)perl -w $(srcdir)/rpc/gendispatch.pl --mode=server \
            virLogManagerProtocol VIR_LOG_MANAGER_PROTOCOL \
-           $(LOG_PROTOCOL) > $(srcdir)/logging/log_daemon_dispatch_stubs.h
+           $(LOG_PROTOCOL) > logging/log_daemon_dispatch_stubs.h
 
 virtlogd.8.in: logging/virtlogd.pod
        $(AM_V_GEN)$(POD2MAN) --section=8 $< $@-t1 && \