[libxmlplusplus/libxml++-3-2] docs/manual: Fix builddir != sourcedir builds



commit 5606729ac3cb62f17fc0c22b13cc20846946d03b
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Thu Jan 3 17:23:06 2019 +0100

    docs/manual: Fix builddir != sourcedir builds

 docs/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index edd69f4..7c7d6a6 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -22,7 +22,8 @@ doc_input = $(addprefix $(top_srcdir)/libxml++/,$(h_sources_public))
 include $(top_srcdir)/build/doc-reference.am
 
 manual/libxml++.xml: manual/libxml++_without_code.xml manual/insert_example_code.pl
-       $(AM_V_GEN)$(PERL) -- manual/insert_example_code.pl ../examples $< >$@
+       $(AM_V_at)$(MKDIR_P) manual
+       $(AM_V_GEN)$(PERL) -- ${top_srcdir}/docs/manual/insert_example_code.pl ${top_srcdir}/examples $< >$@
 
 manualdir = $(docdir)/manual
 manual_htmldir = $(manualdir)/html


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]