[SCM] crtmpserver/master: factor out configure flags

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Fri Apr 15 19:33:07 UTC 2011


The following commit has been merged in the master branch:
commit 7a4ec66e8025d3981908510499a02a5c5e6d94b5
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Fri Apr 15 21:22:05 2011 +0200

    factor out configure flags

diff --git a/debian/rules b/debian/rules
index ca0588b..5d9b73a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,13 +3,15 @@
 #export DH_VERBOSE=1
 
 DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+DEB_CONFIGURE_FLAGS = \
+			-DCRTMPSERVER_INSTALL_PREFIX=/usr \
+			-DCMAKE_VERBOSE_MAKEFILE=OFF \
+			-DTEMP_FRAMEWORK_VER="0.0_dfsg+svn421" \
+			-DCRTMPSERVER_SOURCES_ROOT=$(CURDIR)
+
 
 %:
 	dh $@ 
 
 override_dh_auto_configure:
-	dh_auto_configure --	-DCRTMPSERVER_INSTALL_PREFIX=/usr \
-				-DCMAKE_VERBOSE_MAKEFILE=OFF \
-				-DTEMP_FRAMEWORK_VER="0.0_dfsg+svn421" \
-				-DCRTMPSERVER_SOURCES_ROOT=$(shell pwd)
-
+	dh_auto_configure -- $(DEB_CONFIGURE_FLAGS)

-- 
crtmpserver packaging



More information about the pkg-multimedia-commits mailing list