1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

include: Handle case when builddir == srcdir

In my previous commit a70f3b1c77 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@redhat.com>
(cherry picked from commit 0d0e41a719)
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Michal Privoznik 2016-02-01 12:24:58 +01:00
parent d8cc67931c
commit f464e07f21

View File

@ -19,7 +19,8 @@
virincdir = $(includedir)/libvirt virincdir = $(includedir)/libvirt
allheaders = $(wildcard $(srcdir)/libvirt/*.h) 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 virinc_HEADERS += libvirt/libvirt-common.h
EXTRA_DIST = libvirt/libvirt-common.h.in EXTRA_DIST = libvirt/libvirt-common.h.in