[tracker/harmattan: 1213/2240] Fixed build to not require gtkdoc



commit 44c1093a259a42fedd5cdc29369a614a126b2f9a
Author: Martyn Russell <martyn lanedo com>
Date:   Mon Oct 5 10:40:51 2009 +0100

    Fixed build to not require gtkdoc

 .../01-configure-without-gtk-doc-tools.patch       |   32 --------------------
 debian/rules                                       |    5 +++
 2 files changed, 5 insertions(+), 32 deletions(-)
---
diff --git a/debian/rules b/debian/rules
index d057174..607d633 100755
--- a/debian/rules
+++ b/debian/rules
@@ -69,10 +69,15 @@ ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 else
 	CFLAGS += -O2
 endif
+
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 	INSTALL_PROGRAM += -s
 endif
 
+ifneq (,$(findstring nodocs,$(DEB_BUILD_OPTIONS)))
+        DEB_BUILD_OPTIONS=$(DEB_BUILD_OPTIONS),nodocs
+endif
+
 post-patches:: debian/stamp-autothings-update
 debian/stamp-autothings-update:
 	# Set ACLOCAL_FLAGS so that libtool.m4 is picked up in scratchbox 1.0.x + sardine



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