summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2016-09-01 15:50:53 -0500
committerWilliam Hubbs <williamh@gentoo.org>2016-09-01 15:50:53 -0500
commit8f970ff82c88b86565d88852624da143bb2d5288 (patch)
tree2b330ddf2f25aedcc485b9a43e4c152dc1a9768e
parentetc/profile: Make set -u work for the profile (diff)
downloadbaselayout-8f970ff82c88b86565d88852624da143bb2d5288.tar.gz
baselayout-8f970ff82c88b86565d88852624da143bb2d5288.tar.bz2
baselayout-8f970ff82c88b86565d88852624da143bb2d5288.zip
Makefile: add changelog target
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 05c2a264..32d845ae 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,7 @@ DISTFILE = $(PKG).tar.bz2
DESTDIR =
+CHANGELOG_LIMIT = --after="1 year ago"
INSTALL_DIR = install -m 0755 -d
INSTALL_EXE = install -m 0755
INSTALL_FILE = install -m 0644
@@ -52,6 +53,9 @@ KEEP_DIRS = $(KEEP_DIRS-$(OS)) \
all:
+changelog:
+ git log ${CHANGELOG_LIMIT} --format=full > ChangeLog
+
clean:
install:
@@ -105,6 +109,6 @@ snapshot:
git archive --prefix=$(PKG)/ $(GITREF) | bzip2 > $(PKG)-$(GITREF).tar.bz2
ls -l $(PKG)-$(GITREF).tar.bz2
-.PHONY: all clean install layout live release snapshot
+.PHONY: all changelog clean install layout live release snapshot
# vim: set ts=4 :