[SCM] rem/master: Tidy rules file: Declare control.in target more compact.

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Mar 13 12:30:13 UTC 2016


The following commit has been merged in the master branch:
commit 8221b06af2bf0691aa9236dd6c96d020c4e70f67
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sun Mar 13 13:07:15 2016 +0100

    Tidy rules file: Declare control.in target more compact.

diff --git a/debian/rules b/debian/rules
index b3dac02..b57c78e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,11 +28,8 @@ EXTRA_LFLAGS := "$(shell dpkg-buildflags --get LDFLAGS) -Wl,-soname,librem.so.0"
 
 DEB_PHONY_RULES += debian/control.in
 debian/control:: debian/control.in
-debian/control.in::
-	sed \
-		-e 's/__PKG-LIB__/$(pkg-lib)/g' \
-		<debian/control.in.in \
-		>debian/control.in
+debian/control.in:: debian/control.in.in
+	sed -e 's/__PKG-LIB__/$(pkg-lib)/g' <$< >$@
 
 include /usr/share/pkg-kde-tools/makefiles/1/cdbs/symbolshelper.mk
 include /usr/share/cdbs/1/rules/upstream-tarball.mk

-- 
rem packaging



More information about the pkg-multimedia-commits mailing list