From 8100a4cc4c7dd0ffbdf429bd27d8845b71aefaae Mon Sep 17 00:00:00 2001 From: merakor Date: Mon, 5 Apr 2021 09:58:03 +0000 Subject: Makefile: fix `make dist` FossilOrigin-Name: 609e606deac7b46cc82b56ac750f6c1ea19ba5205e630e5b2c9a50590f7b5297 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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}" -- cgit v1.2.3