r18288 - in /desktop/experimental/ekiga/debian: changelog rules

dedu-guest at users.alioth.debian.org dedu-guest at users.alioth.debian.org
Mon Jan 26 10:18:08 UTC 2009


Author: dedu-guest
Date: Mon Jan 26 10:18:08 2009
New Revision: 18288

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=18288
Log:
debian/rules: Honour DEB_BUILD_OPTIONS parameter for parallel builds.

Modified:
    desktop/experimental/ekiga/debian/changelog
    desktop/experimental/ekiga/debian/rules

Modified: desktop/experimental/ekiga/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/ekiga/debian/changelog?rev=18288&op=diff
==============================================================================
--- desktop/experimental/ekiga/debian/changelog (original)
+++ desktop/experimental/ekiga/debian/changelog Mon Jan 26 10:18:08 2009
@@ -1,6 +1,7 @@
 ekiga (3.0.1-2) UNRELEASED; urgency=low
 
   [ Eugen Dedu ]
+  * debian/rules: Honour DEB_BUILD_OPTIONS parameter for parallel builds.
   * Really fix #505536 (Symlink identical GNOME help files, to reduce size)
     by build-depending on fdupes, thanks Martin Pitt.
   * Cleanup rules further.

Modified: desktop/experimental/ekiga/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/ekiga/debian/rules?rev=18288&op=diff
==============================================================================
--- desktop/experimental/ekiga/debian/rules (original)
+++ desktop/experimental/ekiga/debian/rules Mon Jan 26 10:18:08 2009
@@ -7,6 +7,11 @@
   confflags += --build $(DEB_HOST_GNU_TYPE)
 else
   confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+  NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+  MAKEFLAGS += -j$(NUMJOBS)
 endif
 
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
@@ -45,7 +50,7 @@
 	rm -f config.cache
 	CXXFLAGS="$(CXXFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
 	    ./configure $(confflags)
-	$(MAKE)
+	$(MAKE) $(MAKEFLAGS)
 	touch $@
 
 clean::




More information about the pkg-gnome-commits mailing list