]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: Pass relative paths to apibuild.py
authorAndrea Bolognani <abologna@redhat.com>
Mon, 25 Apr 2016 11:40:04 +0000 (13:40 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 26 Apr 2016 07:20:11 +0000 (09:20 +0200)
Since commit d195cffa2e1b, both $(srcdir) and $(abs_builddir)
are passed to the apibuild.py script; however, since the
former is a relative path and the latter an absolute one, the
script might not be able to detect whether they point to the
same location.

Pass both as relative paths to avoid the issue.

docs/Makefile.am

index 1b21b5c2fc6f3ee136134e362226bd46b25bdc54..282d1015355635282e15e85642da80f50e099af7 100644 (file)
@@ -325,7 +325,7 @@ $(APIBUILD_STAMP): $(srcdir)/apibuild.py \
                $(top_srcdir)/src/util/virerror.c \
                $(top_srcdir)/src/util/virevent.c \
                $(top_srcdir)/src/util/virtypedparam.c
-       $(AM_V_GEN)srcdir=$(srcdir) builddir=$(abs_builddir) $(PYTHON) $(APIBUILD)
+       $(AM_V_GEN)srcdir=$(srcdir) builddir=$(builddir) $(PYTHON) $(APIBUILD)
        touch $@