delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-TMN: | [8frNtCjz2xSfK2e8fPC/NnnSNUuGvb4b] |
X-Originating-Email: | [vuokko AT msn DOT com] |
Message-ID: | <DUB125-W490B75C141C198951B57F9C6990@phx.gbl> |
From: | "Hannu Vuolasaho (vuokko AT msn DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
To: | "geda-user AT delorie DOT com" <geda-user AT delorie DOT com> |
Subject: | RE: [geda-user] Re: geda-gaf on FreeBSD and probably other |
architectures | |
Date: | Fri, 17 Jul 2015 00:33:25 +0300 |
Importance: | Normal |
In-Reply-To: | <30E19982-8884-4108-B948-326609737EED@noqsi.com> |
References: | <1507142204 DOT AA17911 AT ivan DOT Harhan DOT ORG> |
<55A58A48 DOT 80501 AT neurotica DOT com> <20150715014343 DOT GA6516 AT recycle DOT lbl DOT gov> | |
<mo6ijf$se4$1 AT ger DOT gmane DOT org> | |
<CAOuGh89bwQxit-TYpySeN-xFLtz-Q1eSPgcYXDdVe1GYyc2MXg AT mail DOT gmail DOT com> | |
<20150716161104 DOT 7869 DOT qmail AT stuge DOT se>,<30E19982-8884-4108-B948-326609737EED AT noqsi DOT com> | |
MIME-Version: | 1.0 |
X-OriginalArrivalTime: | 16 Jul 2015 21:33:25.0978 (UTC) FILETIME=[0C74FBA0:01D0C00F] |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id t6GLXTUs016964 |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
John Doty wrote: > On Jul 16, 2015, at 10:11 AM, Peter Stuge (peter AT stuge DOT se) [via geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote: > >> git describe --tags is e.g. an excellent >> source of such a source identifier, when one uses Git. > > Two thumbs up. This is what I use: CURRENT_VERSION := $(shell git describe --abbrev=4 --dirty --always --tags) CURRENT_BRANCH := $(shell git branch|cut -f 2- -d ' ') Branch needs to be cut as it has * as firs character otherwise it would expand in compilation. Hannu Vuolasaho
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |