Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: mk/
Date: Thu, 30 Apr 2015 19:51:07
Message-Id: 1430423142.a27d577da8cf4f1c7f9784a043ecf02d71a81ca6.williamh@OpenRC
1 commit: a27d577da8cf4f1c7f9784a043ecf02d71a81ca6
2 Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
3 AuthorDate: Thu Apr 30 19:45:42 2015 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 30 19:45:42 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=a27d577d
7
8 Build: fix the dist target
9
10 The dist target now creates an archive based on the version setting.
11 This makes it possible to create an archive identical to the ones github
12 generates once the release is tagged.
13
14 mk/dist.mk | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 diff --git a/mk/dist.mk b/mk/dist.mk
18 index aa07dbb..13ec40a 100644
19 --- a/mk/dist.mk
20 +++ b/mk/dist.mk
21 @@ -2,7 +2,7 @@
22 # Copyright (c) 2008 Roy Marples <roy@×××××××.name>
23 # Released under the 2-clause BSD license.
24
25 -GITREF?= HEAD
26 +GITREF?= ${VERSION}
27 DISTPREFIX?= ${NAME}-${VERSION}
28 DISTFILE?= ${DISTPREFIX}.tar.bz2