summaryrefslogtreecommitdiff
path: root/eclass/gnome2-live.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/gnome2-live.eclass')
-rw-r--r--eclass/gnome2-live.eclass13
1 files changed, 8 insertions, 5 deletions
diff --git a/eclass/gnome2-live.eclass b/eclass/gnome2-live.eclass
index 042198c..a2934ef 100644
--- a/eclass/gnome2-live.eclass
+++ b/eclass/gnome2-live.eclass
@@ -54,11 +54,14 @@ gnome2-live_src_prepare() {
epatch "${i}"
done
- gtkdocize
- gnome-doc-common
- gnome-doc-prepare --automake
- intltoolize --force
- # Add by default; it's ignored if DNE
+ if grep -qe 'GTK_DOC' configure.*; then
+ gtkdocize
+ gnome-doc-common
+ gnome-doc-prepare --automake
+ fi
+ if grep -qe "IT_PROG_INTLTOOL" configure.*; then
+ intltoolize --force
+ fi
if test -e m4; then
AT_M4DIR=m4 eautoreconf
else