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 1Si6f7-0007oB-K6 for garchives@archives.gentoo.org; Fri, 22 Jun 2012 16:24:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C8E7E0C79; Fri, 22 Jun 2012 16:24:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E3BA9E0C79 for ; Fri, 22 Jun 2012 16:24:37 +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 41ED31B403B for ; Fri, 22 Jun 2012 16:24:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 019CDE5437 for ; Fri, 22 Jun 2012 16:24:36 +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: <1340382560.fb00b7b72a960ce2fb2be5d0b629a3d1623a1b5f.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: fb00b7b72a960ce2fb2be5d0b629a3d1623a1b5f X-VCS-Branch: eselect-emacs Date: Fri, 22 Jun 2012 16:24:36 +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: 317d358a-41e7-46ab-8e03-966f2c5f1ffc X-Archives-Hash: 1b500002987e5e80360d21d64c00a906 commit: fb00b7b72a960ce2fb2be5d0b629a3d1623a1b5f 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 16:29:20 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/emacs-tools.g= it;a=3Dcommit;h=3Dfb00b7b7 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