Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/baselayout:master commit in: /
Date: Thu, 01 Sep 2016 20:56:45
Message-Id: 1472763053.8f970ff82c88b86565d88852624da143bb2d5288.williamh@gentoo
1 commit: 8f970ff82c88b86565d88852624da143bb2d5288
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 1 20:50:53 2016 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 1 20:50:53 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/baselayout.git/commit/?id=8f970ff8
7
8 Makefile: add changelog target
9
10 Makefile | 6 +++++-
11 1 file changed, 5 insertions(+), 1 deletion(-)
12
13 diff --git a/Makefile b/Makefile
14 index 05c2a26..32d845a 100644
15 --- a/Makefile
16 +++ b/Makefile
17 @@ -13,6 +13,7 @@ DISTFILE = $(PKG).tar.bz2
18
19 DESTDIR =
20
21 +CHANGELOG_LIMIT = --after="1 year ago"
22 INSTALL_DIR = install -m 0755 -d
23 INSTALL_EXE = install -m 0755
24 INSTALL_FILE = install -m 0644
25 @@ -52,6 +53,9 @@ KEEP_DIRS = $(KEEP_DIRS-$(OS)) \
26
27 all:
28
29 +changelog:
30 + git log ${CHANGELOG_LIMIT} --format=full > ChangeLog
31 +
32 clean:
33
34 install:
35 @@ -105,6 +109,6 @@ snapshot:
36 git archive --prefix=$(PKG)/ $(GITREF) | bzip2 > $(PKG)-$(GITREF).tar.bz2
37 ls -l $(PKG)-$(GITREF).tar.bz2
38
39 -.PHONY: all clean install layout live release snapshot
40 +.PHONY: all changelog clean install layout live release snapshot
41
42 # vim: set ts=4 :