From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Si6Ar-000292-SM for garchives@archives.gentoo.org; Fri, 22 Jun 2012 15:53:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6060E0C76; Fri, 22 Jun 2012 15:53:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8538CE0C70 for ; Fri, 22 Jun 2012 15:53:07 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E86201B4024 for ; Fri, 22 Jun 2012 15:53:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id AB273E5435 for ; Fri, 22 Jun 2012 15:53:05 +0000 (UTC) From: "Ulrich Mueller" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Mueller" Message-ID: <1340380519.479cea3b09d2e1c4389e2578a6f144dd3bc0329a.ulm@gentoo> Subject: [gentoo-commits] proj/emacs-tools:eselect-emacs commit in: / X-VCS-Repository: proj/emacs-tools X-VCS-Files: ChangeLog Makefile X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller X-VCS-Revision: 479cea3b09d2e1c4389e2578a6f144dd3bc0329a X-VCS-Branch: eselect-emacs Date: Fri, 22 Jun 2012 15:53:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 43db16ff-45a6-4858-bbf5-4229d2f46138 X-Archives-Hash: ffe1231abea59f0ea4bc9af81910d99f commit: 479cea3b09d2e1c4389e2578a6f144dd3bc0329a Author: Ulrich M=C3=BCller gentoo org> AuthorDate: Fri Jun 22 15:55:19 2012 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Fri Jun 22 15:55:19 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/emacs-tools.g= it;a=3Dcommit;h=3D479cea3b Extract version number from emacs.eselect. --- ChangeLog | 4 ++++ Makefile | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8ef2c09..a8b41fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-06-22 Ulrich M=C3=BCller + + * Makefile (PV): Extract version number from emacs.eselect. + 2012-05-06 Ulrich M=C3=BCller =20 * ctags.eselect (VERSION): diff --git a/Makefile b/Makefile index c6f923f..cb247f1 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ # Distributed under the terms of the GNU GPL version 2 or later =20 PN =3D eselect-emacs -PV =3D $(shell sed '/^[ \t]*\* .*[Vv]ersion/!d;s/[^0-9.]*\([^ \t]*\).*/\= 1/;q' \ - ChangeLog) +PV =3D $(shell sed '/^[ \t]*VERSION=3D/!d;s/.*=3D"\?\([^ \t"]*\).*/\1/;q= ' \ + emacs.eselect) P =3D $(PN)-$(PV) =20 MODULES =3D emacs.eselect ctags.eselect etags.eselect