[tor-commits] [fuzzing-corpora/master] Add a make dist target

nickm at torproject.org nickm at torproject.org
Tue Nov 6 14:32:04 UTC 2018


commit 06047c54583aec33df4443cff273261555e8b4a2
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Nov 6 09:32:00 2018 -0500

    Add a make dist target
---
 .gitignore |  2 ++
 Makefile   | 11 +++++++++++
 2 files changed, 13 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3bffe8d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+*~
+tor-fuzzing-corpora-*.tar.xz
\ No newline at end of file
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..075c236
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+
+all:
+	@echo "Nothing to do"
+
+dist:
+	git archive \
+		--format=tar \
+		--prefix=tor-fuzzing-corpora/ \
+		HEAD . \
+	| xz -9 -c \
+	> "tor-fuzzing-corpora-`git rev-parse HEAD`-`date -u +%Y%m%d`.tar.xz"



More information about the tor-commits mailing list