diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-02 13:40:29 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-02 13:41:25 -0700 |
commit | 5510698bbe765fc4d3fcdbc81a78d702895a05e9 (patch) | |
tree | 911fb72745f9f975b63b1693b889b93d20099c7c | |
parent | 65717ecbab432f4acd093d2efefd52bce66409d8 (diff) | |
download | unicorn-5510698bbe765fc4d3fcdbc81a78d702895a05e9.tar.gz |
Makes it easier for new projects with no tags yet to reuse this snippet.
-rw-r--r-- | GNUmakefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index 0a1a035..44cebb0 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -153,10 +153,11 @@ NEWS: GIT-VERSION-FILE mv $@+ $@ SINCE = 0.91.0 +ChangeLog: log_range = $(shell test -n "$(SINCE)" && echo v$(SINCE)..) ChangeLog: GIT-VERSION-FILE @echo "ChangeLog from $(GIT_URL) ($(SINCE)..$(GIT_VERSION))" > $@+ @echo >> $@+ - git log v$(SINCE).. | sed -e 's/^/ /' >> $@+ + git log $(log_range) | sed -e 's/^/ /' >> $@+ mv $@+ $@ news_atom := http://unicorn.bogomips.org/NEWS.atom.xml |