added rule to generate changelog since last tag
parent
827ed4d3a2
commit
1822c73cf9
4
Makefile
4
Makefile
|
@ -83,6 +83,10 @@ cards/new.txt: cards/existing_tip.txt
|
|||
mv cards/new_$(LAST).txt $@
|
||||
make wiki/UpcomingCards.wiki
|
||||
|
||||
changelog:
|
||||
$(eval LAST := $(shell hg tags | grep "^[[:digit:]]" | head -1 | cut -d' ' -f1))
|
||||
hg log | awk '{print}; /Added tag ${LAST}/ {exit 1}' > changelog
|
||||
|
||||
cards/new_%.txt: cards/existing_tip.txt cards/existing_%.txt
|
||||
join -v1 -t"|" <(sort $(word 1,$^)) <(sort $(word 2,$^)) > $@
|
||||
|
||||
|
|
Loading…
Reference in New Issue