[gnome-utils] [build] patch autogen.sh to make gtk-doc happy



commit 6f2442c8e9af3397b32de48b700500128c5997e4
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jun 15 14:11:42 2009 +0200

    [build] patch autogen.sh to make gtk-doc happy

 autogen.sh |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index d7762f1..dcd1d79 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -22,3 +22,12 @@ which gnome-autogen.sh || {
 }
 
 USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh
+
+# we need to patch gtk-doc.make to support pretty output with
+# libtool 1.x.  Should be fixed in the next version of gtk-doc.
+# To be more resilient with the various versions of gtk-doc one
+# can find, just sed gkt-doc.make rather than patch it.
+sed -e 's#) --mode=compile#) --tag=CC --mode=compile#' gtk-doc.make > gtk-doc.temp \
+                && mv gtk-doc.temp gtk-doc.make
+sed -e 's#) --mode=link#) --tag=CC --mode=link#' gtk-doc.make > gtk-doc.temp \
+                && mv gtk-doc.temp gtk-doc.make



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