diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-23 23:42:26 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-23 23:42:26 -0800 |
commit | 9804cd197e64d22d613575b7a4db10daf01bb683 (patch) | |
tree | baff9f6e28f72c9094e02f769cdb72c2d3699084 /GNUmakefile | |
parent | 253f0ab4599030cc18eebbab1611c7c83cc2262e (diff) | |
download | unicorn-9804cd197e64d22d613575b7a4db10daf01bb683.tar.gz |
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 190824f..cd879c5 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -157,9 +157,10 @@ NEWS: GIT-VERSION-FILE mv $@+ $@ SINCE = 0.94.0 -ChangeLog: log_range = $(shell test -n "$(SINCE)" && echo v$(SINCE)..) +ChangeLog: LOG_VERSION = $(GIT_VERSION) +ChangeLog: log_range = v$(SINCE)..$(LOG_VERSION) ChangeLog: GIT-VERSION-FILE - @echo "ChangeLog from $(GIT_URL) ($(SINCE)..$(GIT_VERSION))" > $@+ + @echo "ChangeLog from $(GIT_URL) ($(log_range))" > $@+ @echo >> $@+ git log $(log_range) | sed -e 's/^/ /' >> $@+ mv $@+ $@ |