summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Weingärtner <timo@tiwe.de>2013-09-28 16:35:58 +0200
committerTimo Weingärtner <timo@tiwe.de>2013-09-28 16:36:58 +0200
commit183200793e5aec74f73b21bd96d46b447da64f11 (patch)
treea23f9e4152c3ed06a54178496a9c122003215824
parent5e5588cd1edfbab1889537b93ae13b159f76caff (diff)
downloadlibpam-pwdfile-183200793e5aec74f73b21bd96d46b447da64f11.tar.gz
Makefile: add target changelog-from-git
needs moreutils
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6905e9a..a0d2f3f 100644
--- a/Makefile
+++ b/Makefile
@@ -32,3 +32,6 @@ install: $(LIBSHARED)
clean:
$(RM) *.o *.so
+
+changelog-from-git: changelog
+ { git log --decorate $(shell head -1 changelog | cut -d\ -f2).. | vipe; echo; cat changelog; } | sponge changelog