[PATCH] include: Handle case when builddir == srcdir

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

 



In my previous commit a70f3b1c779120129 I've tried to fix case
when building from VPATH and a file wasn't being installed.
However, my fix broke non-VPATH build.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 include/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/Makefile.am b/include/Makefile.am
index 6b0b41e..754c298 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -19,7 +19,7 @@
 virincdir = $(includedir)/libvirt
 
 allheaders = $(wildcard $(srcdir)/libvirt/*.h)
-virinc_HEADERS = $(filter-out $(srcdir)/libvirt/libvirt-admin.h, $(allheaders))
+virinc_HEADERS = $(filter-out $(srcdir)/libvirt/libvirt-admin.h $(srcdir)/libvirt/libvirt-common.h, $(allheaders))
 virinc_HEADERS += libvirt/libvirt-common.h
 
 EXTRA_DIST = libvirt/libvirt-common.h.in
-- 
2.4.10

--
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]