+tar (1.27-3) UNRELEASED; urgency=low
+
+ * honor DEB_BUILD_OPTIONS parallel=<n>, honor dpkg-buildflags in build
+ target in addition to configure target, closes: #727196
+
+ -- Bdale Garbee <bdale@gag.com> Wed, 23 Oct 2013 09:53:31 -0600
+
tar (1.27-2) unstable; urgency=low
* claim support for mime type application/x-ustar too, and no longer
LDFLAGS += `dpkg-buildflags --get LDFLAGS`
CPPFLAGS = `dpkg-buildflags --get CPPFLAGS`
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ MAKEFLAGS += -j$(NUMJOBS)
+endif
+
configure: configure-stamp
configure-stamp:
dh_testdir
build-indep: build-stamp
build-stamp: configure-stamp
dh_testdir
- RSH="/usr/bin/rsh" CFLAGS="-O2 -g -Wall -fno-gnu89-inline" $(MAKE)
+ RSH="/usr/bin/rsh" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
+ LDFLAGS="$(LDFLAGS)" $(MAKE)
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))