r1396 - /unstable/ffmpeg-debian/debian/rules
lool at users.alioth.debian.org
lool at users.alioth.debian.org
Tue Aug 26 13:55:30 UTC 2008
Author: lool
Date: Tue Aug 26 13:55:30 2008
New Revision: 1396
URL: http://svn.debian.org/wsvn/pkg-multimedia/?sc=1&rev=1396
Log:
Cleanups:
- use [[:space:]] instead of a regular space in sed Package names re
- comments tweaks
- use absolute rather than relative path to configure
Modified:
unstable/ffmpeg-debian/debian/rules
Modified: unstable/ffmpeg-debian/debian/rules
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/ffmpeg-debian/debian/rules?rev=1396&op=diff
==============================================================================
--- unstable/ffmpeg-debian/debian/rules (original)
+++ unstable/ffmpeg-debian/debian/rules Tue Aug 26 13:55:30 2008
@@ -7,7 +7,7 @@
SVN_VERSION := $(shell echo $(UPSTREAM_VERSION) | sed -nr 's/^[0-9.:-]+\.svn([0-9]+)$$/\1/p')
SHLIBS_VERSION := 0.svn20080206-8
-LIB_PKGS := $(shell sed -nr 's/^Package: *(lib(avutil|avcodec|avdevice|postproc|avformat|swscale)[0-9]+) *$$/\1/p' debian/control)
+LIB_PKGS := $(shell sed -nr 's/^Package:[[:space:]]*(lib(avutil|avcodec|avdevice|postproc|avformat|swscale)[0-9]+)[[:space:]]*$$/\1/p' debian/control)
internalencoders := $(findstring internalencoders,$(DEB_BUILD_OPTIONS))
@@ -25,7 +25,7 @@
configure-stamp-%: $(QUILT_STAMPFN) config-extra-includes.h
dh_testdir
mkdir -p debian-$*
- cd debian-$* && CFLAGS="$(CFLAGS)" ../configure $($*_build_confflags)
+ cd debian-$* && CFLAGS="$(CFLAGS)" $(CURDIR)/configure $($*_build_confflags)
ifeq ($(internalencoders),)
echo "#include \"config-extra-includes.h\"" >> debian-$*/config.h
endif
@@ -61,7 +61,7 @@
get-orig-source:
dh_testdir
- # Disable potentially dangerous patented code
+ # strip patented code
chmod +x debian/strip.sh
sh debian/get-orig-source.sh -r{$(SVN_VERSION)} \
$(if $(internalencoders), -c $(CURDIR)/debian/strip.sh,) \
More information about the pkg-multimedia-commits
mailing list