summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b8ae63e..7dea2f8 100644
--- a/Makefile
+++ b/Makefile
@@ -23,8 +23,12 @@ VERSION = "0.1.0"
all:
@echo "Run 'make dist' to create a tarball."
-dist:
+ChangeLog:
+ git log > ChangeLog || touch ChangeLog
+
+dist: ChangeLog
@tar -c -v -z --exclude=.git --exclude=Makefile \
--exclude=sigrok-dumps-$(VERSION).tar.gz \
-f sigrok-dumps-$(VERSION).tar.gz *
+ @rm -f ChangeLog