[Pkg-scicomp-devel] opencv/trunk/debian

Sam Hocevar sam at zoy.org
Mon Mar 10 15:29:38 UTC 2008


SVN commit 2248 by sho:

  * debian/rules:
    + Support CONCURRENCY_LEVEL.


 M  +7 -0      opencv/trunk/debian/changelog  
 M  +4 -1      opencv/trunk/debian/rules  


--- opencv/trunk/debian/changelog #2247:2248
@@ -1,3 +1,10 @@
+opencv (1.0.0-4) unstable; urgency=low
+
+  * debian/rules:
+    + Support CONCURRENCY_LEVEL.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Mon, 10 Mar 2008 15:28:47 +0000
+
 opencv (1.0.0-3) unstable; urgency=low
 
   * debian/control:
--- opencv/trunk/debian/rules #2247:2248
@@ -21,6 +21,9 @@
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 	INSTALL_PROGRAM += -s
 endif
+ifneq (,$(CONCURRENCY_LEVEL))
+	MAKE_FLAGS += -j $(CONCURRENCY_LEVEL)
+endif
 
 config.status: configure
 	dh_testdir
@@ -36,7 +39,7 @@
 build: build-stamp
 build-stamp: config.status
 	dh_testdir
-	$(MAKE) CFLAGS="$(CFLAGS)" CXXFLAGS="$(CFLAGS)"
+	$(MAKE) $(MAKE_FLAGS) CFLAGS="$(CFLAGS)" CXXFLAGS="$(CFLAGS)"
 	touch build-stamp
 
 clean:



More information about the Pkg-scicomp-devel mailing list