[SCM] scenic packaging branch, master, updated. upstream/0.6.2-96-gf2bbe88

alexandrequessy-guest at users.alioth.debian.org alexandrequessy-guest at users.alioth.debian.org
Wed Jun 23 00:55:20 UTC 2010


The following commit has been merged in the master branch:
commit 8f5de9d49efd4a87a1fe195d66af991d32863fac
Author: Alexandre Quessy <alexandre at quessy.net>
Date:   Tue Jun 22 17:36:20 2010 -0400

    removed stamp targets in debian/rules

diff --git a/debian/rules b/debian/rules
index 45a05ed..b491e40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,5 @@
 #!/usr/bin/make -f
 
-# Approach comes from 
-# http://www.technovelty.org/linux/debian/python-cdbs-autotools.html
-PY_VERSIONS = $(shell pyversions --requested debian/control)
-
 DEB_BUILDDIR := build
 DEB_PYTHON_SYSTEM = pysupport
 DEB_PYTHON_MODULE_PACKAGES = scenic rtpmidi
@@ -13,40 +9,6 @@ DEB_CONFIGURE_EXTRA_FLAGS := --enable-mt
 include /usr/share/cdbs/1/class/python-autotools.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
-.PRECIOUS: configure-stamp-%
-
-configure-stamp-%:
-	mkdir build-$*
-	cd build-$* && PYTHON=`which $*` $(DEB_CONFIGURE_SCRIPT_ENV) \
-	    $(DEB_CONFIGURE_SCRIPT) \
-		$(DEB_CONFIGURE_NORMAL_ARGS) \
-		--disable-maintainer-mode \
-		$(cdbs_configure_flags) \
-		$(DEB_CONFIGURE_EXTRA_FLAGS) \
-		$(DEB_CONFIGURE_USER_FLAGS)
-	touch $@
-
-configure/scenic:: $(addprefix configure-stamp-, $(PY_VERSIONS))
-
-configure/midistream:: $(addprefix configure-stamp-, $(PY_VERSIONS))
-
-
-build-stamp-%:
-	make -C build-$*
-	touch $@
-
-build/scenic:: $(addprefix build-stamp-, $(PY_VERSIONS))
-
-build/midistream:: $(addprefix build-stamp-, $(PY_VERSIONS))
-
-install-stamp-%:
-	make -C build-$* install DESTDIR=$(CURDIR)/debian/tmp
-	touch $@
-
-install/scenic:: $(addprefix install-stamp-, $(PY_VERSIONS))
-
-install/midistream:: $(addprefix install-stamp-, $(PY_VERSIONS))
-
 # Unit tests are disabled for now, since it's Python path is broken when they are ran.
 #DEB_MAKE_CHECK_TARGET = check 
 
@@ -65,7 +27,3 @@ binary-install/midistream::
 # cleanup stamp targets
 clean::
 	-$(RM) -r $(DEB_BUILDDIR)
-	-$(RM) -r $(addprefix $(CURDIR)/build-, $(PY_VERSIONS))
-	-$(RM) -r $(addprefix $(CURDIR)/configure-stamp-, $(PY_VERSIONS))
-	-$(RM) -r $(addprefix $(CURDIR)/build-stamp-, $(PY_VERSIONS))
-	-$(RM) -r $(addprefix $(CURDIR)/install-stamp-, $(PY_VERSIONS))

-- 
scenic packaging



More information about the pkg-multimedia-commits mailing list