[SCM] rem/master: Tidy rules: Resolve SONAME major with grep (not perl).
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue Dec 27 00:22:45 UTC 2016
The following commit has been merged in the master branch:
commit b786d08e9f58bbf4b76a090f1d2cdf562a38aeac
Author: Jonas Smedegaard <dr at jones.dk>
Date: Mon Dec 26 23:36:32 2016 +0100
Tidy rules: Resolve SONAME major with grep (not perl).
diff --git a/debian/rules b/debian/rules
index b57c78e..40f30cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +18,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-major := $(shell perl -ne '/\bVER_MAJOR := (\d+)/ and print $$1' Makefile)
+major := $(shell grep -Po '\bVER_MAJOR := \K\d+' Makefile)
lib = librem
pkg-lib = $(lib)$(major)
--
rem packaging
More information about the pkg-multimedia-commits
mailing list