r327 - in /packages/mtasc/trunk/debian: changelog rules

pabs at users.alioth.debian.org pabs at users.alioth.debian.org
Mon Mar 9 11:25:52 UTC 2009


Author: pabs
Date: Mon Mar  9 11:25:52 2009
New Revision: 327

URL: http://svn.debian.org/wsvn/pkg-flash/?sc=1&rev=327
Log:
Implement support for parallel=n in DEB_BUILD_OPTIONS

Modified:
    packages/mtasc/trunk/debian/changelog
    packages/mtasc/trunk/debian/rules

Modified: packages/mtasc/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-flash/packages/mtasc/trunk/debian/changelog?rev=327&op=diff
==============================================================================
--- packages/mtasc/trunk/debian/changelog (original)
+++ packages/mtasc/trunk/debian/changelog Mon Mar  9 11:25:52 2009
@@ -11,6 +11,7 @@
   * Improve the patch and Makefile handling
   * Add patch to allow building with camlp4o from ocaml 3.11.0
     Patch fix_mtasc_for_camlp4_3.11.0.patch by Stefano Zacchiroli
+  * Implement support for parallel=n in DEB_BUILD_OPTIONS
 
  -- Paul Wise <pabs at debian.org>  Mon, 09 Mar 2009 16:56:39 +0900
 

Modified: packages/mtasc/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-flash/packages/mtasc/trunk/debian/rules?rev=327&op=diff
==============================================================================
--- packages/mtasc/trunk/debian/rules (original)
+++ packages/mtasc/trunk/debian/rules Mon Mar  9 11:25:52 2009
@@ -24,6 +24,11 @@
   CAMLP4 = camlp4o.opt
 else ifeq ($(shell test -x /usr/bin/camlp4o && echo true),true)
   CAMLP4 = camlp4o
+endif
+
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	MAKEFLAGS += -j$(NUMJOBS)
 endif
 
 build: build-stamp




More information about the pkg-flash-devel mailing list