[Python-modules-commits] r3147 - in /packages/sip4-qt3/trunk/debian: changelog rules
shlomme at users.alioth.debian.org
shlomme at users.alioth.debian.org
Fri Aug 31 20:24:56 UTC 2007
Author: shlomme
Date: Fri Aug 31 20:24:56 2007
New Revision: 3147
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3147
Log:
* handle DEB_BUILD_OPTIONS correctly
Modified:
packages/sip4-qt3/trunk/debian/changelog
packages/sip4-qt3/trunk/debian/rules
Modified: packages/sip4-qt3/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/changelog?rev=3147&op=diff
==============================================================================
--- packages/sip4-qt3/trunk/debian/changelog (original)
+++ packages/sip4-qt3/trunk/debian/changelog Fri Aug 31 20:24:56 2007
@@ -1,3 +1,9 @@
+sip4-qt3 (4.7-3) unstable; urgency=low
+
+ * Handle DEB_BUILD_OPTIONS settings correctly
+
+ -- Torsten Marek <shlomme at debian.org> Fri, 31 Aug 2007 22:21:15 +0200
+
sip4-qt3 (4.7-2) unstable; urgency=low
* Add proper dependencies to python-sip4-dev (Closes: #435788)
Modified: packages/sip4-qt3/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/rules?rev=3147&op=diff
==============================================================================
--- packages/sip4-qt3/trunk/debian/rules (original)
+++ packages/sip4-qt3/trunk/debian/rules Fri Aug 31 20:24:56 2007
@@ -8,28 +8,26 @@
INSTDIR=$(CURDIR)/debian
-ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+CFLAGS=
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
- INSTALL_PROGRAM += -s
-endif
-
-export QMAKE_CFLAGS=
PYTHONS := $(shell pyversions -vr debian/control)
configure: configure-stamp
configure-stamp: patch-stamp
+ echo ${CFLAGS}
dh_testdir
rm -f failed-stamp
for version in ${PYTHONS};\
do\
mkdir -p build-$$version;\
cd build-$$version;\
- python$$version ../configure.py -u || touch ../failed-stamp;\
+ python$$version ../configure.py -u STRIP="" CFLAGS_RELEASE="${CFLAGS}" || touch ../failed-stamp;\
cd ..;\
done
test ! -e failed-stamp && touch $@
More information about the Python-modules-commits
mailing list