[SCM] x264/master: More robust ABI parsing.
fabian-guest at users.alioth.debian.org
fabian-guest at users.alioth.debian.org
Mon Jan 13 14:58:11 UTC 2014
The following commit has been merged in the master branch:
commit a4fcb600ae27f4e752e48f362a8aaaa4b7b12c6b
Author: Fabian Greffrath <fabian+debian at greffrath.com>
Date: Mon Jan 13 15:57:50 2014 +0100
More robust ABI parsing.
diff --git a/debian/rules b/debian/rules
index 0403d27..310a406 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-libx264N := libx264-$(shell grep '\#define X264_BUILD' < x264.h | cut -f 3 -d ' ')
+libx264N := libx264-$(shell awk '/\#define X264_BUILD/{print $$3}' x264.h)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
--
x264 packaging
More information about the pkg-multimedia-commits
mailing list