aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-04-05 09:58:03 +0000
committermerakor <cem@ckyln.com>2021-04-05 09:58:03 +0000
commit8100a4cc4c7dd0ffbdf429bd27d8845b71aefaae (patch)
tree99e64f998f053ad17c296543a07843371d91abaa /Makefile
parent7888367fdf694bf3cf86eade064e14f0c10a7deb (diff)
downloadcpt-8100a4cc4c7dd0ffbdf429bd27d8845b71aefaae.tar.gz
Makefile: fix `make dist`
FossilOrigin-Name: 609e606deac7b46cc82b56ac750f6c1ea19ba5205e630e5b2c9a50590f7b5297
Diffstat (limited to 'Makefile')
-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}"