[PATCH] build: Generate libvirt_access*.xml in source dir

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

 



Technically, these files should be generated in build dir but since
docs/newapi.xsl style sheet is expecting them to be in source dir, it's
much easier to put them there than trying to convince newapi.xsl to look
elsewhere.

Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
---
 src/Makefile.am | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 1388c5f..c456d48 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -863,9 +863,9 @@ ACCESS_DRIVER_SYM_FILES = \
 		libvirt_access_lxc.syms
 
 ACCESS_DRIVER_API_FILES = \
-		libvirt_access.xml \
-		libvirt_access_qemu.xml \
-		libvirt_access_lxc.xml
+		$(srcdir)/libvirt_access.xml \
+		$(srcdir)/libvirt_access_qemu.xml \
+		$(srcdir)/libvirt_access_lxc.xml
 
 ACCESS_DRIVER_SOURCES = \
 		access/viraccessperm.h access/viraccessperm.c \
@@ -1554,15 +1554,15 @@ libvirt_access_lxc.syms: $(srcdir)/rpc/gendispatch.pl \
 	$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclsym \
 	  lxc LXC $(LXC_PROTOCOL) > $@
 
-libvirt_access.xml: $(srcdir)/rpc/gendispatch.pl \
+$(srcdir)/libvirt_access.xml: $(srcdir)/rpc/gendispatch.pl \
 			$(REMOTE_PROTOCOL) Makefile.am
 	$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclapi \
 	  remote REMOTE $(REMOTE_PROTOCOL) > $@
-libvirt_access_qemu.xml: $(srcdir)/rpc/gendispatch.pl \
+$(srcdir)/libvirt_access_qemu.xml: $(srcdir)/rpc/gendispatch.pl \
 			$(QEMU_PROTOCOL) Makefile.am
 	$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclapi \
 	  qemu QEMU $(QEMU_PROTOCOL) > $@
-libvirt_access_lxc.xml: $(srcdir)/rpc/gendispatch.pl \
+$(srcdir)/libvirt_access_lxc.xml: $(srcdir)/rpc/gendispatch.pl \
 			$(LXC_PROTOCOL) Makefile.am
 	$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclapi \
 	  lxc LXC $(LXC_PROTOCOL) > $@
-- 
1.8.3.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]