[gnome-doc-utils] Create xml2po/README in builddir, not in srcdir



commit 1dd077947b0ef603aebc408ec96c5cf1473df9ab
Author: Hib Eris <hib hiberis nl>
Date:   Tue Feb 14 14:54:39 2012 +0100

    Create xml2po/README in builddir, not in srcdir
    
    Fixes bug #670450.

 xml2po/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/xml2po/Makefile.am b/xml2po/Makefile.am
index e90022e..1b6f7e9 100644
--- a/xml2po/Makefile.am
+++ b/xml2po/Makefile.am
@@ -9,8 +9,8 @@ if ENABLE_DOCUMENTATION
 man_MANS += xml2po.1
 endif
 
-$(srcdir)/README: README.in
-	sed -e "s/\ VERSION\@/@VERSION@/g" < README.in > README
+README: README.in
+	$(AM_V_GEN)sed -e "s/\ VERSION\@/@VERSION@/g" $^ > $@ 
 
 xml2po.1: xml2po.1.xml
 	$(AM_V_GEN)xsltproc --nonet $(srcdir)/xml2po.1.xml



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