$(builddir)/doxygen.* targets are never considered out-of-date, so
symlinks never get created and out-of-tree builds fail. Using
$(abs_builddir) instead fixes it.

Signed-off-by: Cyril Brulebois <[email protected]>
---
 hw/dmx/doc/Makefile.am |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/hw/dmx/doc/Makefile.am b/hw/dmx/doc/Makefile.am
index b7e7412..143c8bd 100644
--- a/hw/dmx/doc/Makefile.am
+++ b/hw/dmx/doc/Makefile.am
@@ -27,7 +27,7 @@ include $(top_srcdir)/doc/xml/xmlrules-noinst.in
 
 if HAVE_DOXYGEN
 
-DOXYGEN_SRC=$(builddir)/doxygen.head $(builddir)/doxygen.foot 
$(builddir)/doxygen.css $(srcdir)/doxygen.conf
+DOXYGEN_SRC=$(abs_builddir)/doxygen.head $(abs_builddir)/doxygen.foot 
$(abs_builddir)/doxygen.css $(srcdir)/doxygen.conf
 
 all-local: html/annotated.html
 
@@ -254,12 +254,12 @@ EXTRA_DIST = \
        html/usb-private_8h.html \
        html/usb-private_8h_source.html
 
-$(builddir)/doxygen.head:
+$(abs_builddir)/doxygen.head:
        $(LN_S) $(srcdir)/doxygen.head $@
 
-$(builddir)/doxygen.foot:
+$(abs_builddir)/doxygen.foot:
        $(LN_S) $(srcdir)/doxygen.foot $@
 
-$(builddir)/doxygen.css:
+$(abs_builddir)/doxygen.css:
        $(LN_S) $(srcdir)/doxygen.css $@
 
-- 
1.7.4.1

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to