aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c63eb5a..e658d2e 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,10 @@ test: all tests/etc/cpt-hook
tests/etc/cpt-hook:
ln -s ../hook-file $@
-dist: docs/cpt.info
+CHANGELOG.md:
+ fossil wiki export Changelog | sed '1cCHANGELOG\n=========' > CHANGELOG.md
+
+dist: docs/cpt.info CHANGELOG.md
mkdir "cpt-${VERSION}"
cp -r ${DISTFILES} "cpt-${VERSION}"
tar cf "cpt-${VERSION}.tar" "cpt-${VERSION}"