From f464e07f21eee58df92f8d426667f613b305dd17 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Mon, 1 Feb 2016 12:24:58 +0100 Subject: [PATCH] include: Handle case when builddir == srcdir 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 (cherry picked from commit 0d0e41a71910e0415a924648f44a0b00389a576a) Signed-off-by: Michal Privoznik --- include/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/Makefile.am b/include/Makefile.am index 6b0b41e572..dde955e391 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -19,7 +19,8 @@ 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