mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00: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>
This commit is contained in:
parent
041f7c9304
commit
0d0e41a719
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user