[gnome-doc-utils] Create make-ref.xml in builddir, not in srcdir



commit c1b5fd61799807dd033cef8f78f019bce9b77b59
Author: Hib Eris <hib hiberis nl>
Date:   Tue Feb 14 14:36:37 2012 +0100

    Create make-ref.xml in builddir, not in srcdir
    
    Bug #670450

 doc/gnome-doc-make/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/doc/gnome-doc-make/Makefile.am b/doc/gnome-doc-make/Makefile.am
index c8e3450..99ac208 100644
--- a/doc/gnome-doc-make/Makefile.am
+++ b/doc/gnome-doc-make/Makefile.am
@@ -5,7 +5,8 @@ dist-hook: doc-dist-hook
 DOC_MODULE = gnome-doc-make
 DOC_INCLUDES = legal.xml make-ref.xml
 
-$(srcdir)/C/make-ref.xml: $(top_srcdir)/tools/gnome-doc-utils.make
+C/make-ref.xml: $(top_srcdir)/tools/gnome-doc-utils.make
+	$(AM_V_at)test -d "C" || mkdir "C"
 	$(AM_V_GEN)$(GDU_AWK) -f $(srcdir)/gnome-doc-make.awk $< > $@
 
 EXTRA_DIST = gnome-doc-make.awk



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