From e2aba27389d21d527b7c09fd82e93c0e4bc5e491 Mon Sep 17 00:00:00 2001 From: Ron Date: Thu, 24 Dec 2015 09:13:11 -0800 Subject: [PATCH] Build: Some updates to the release build --- Makefile | 7 ++++--- doc/how_to_do_a_release.md | 14 +++++++------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 33591e98..b0d6043b 100644 --- a/Makefile +++ b/Makefile @@ -23,13 +23,13 @@ all: clean: @cd client && make clean - @rm -rf dist/* debug: @cd client && make debug @echo "Debug compile complete!" -release: clean +release: + @make clean -mkdir dist/ @cd client && make release @mv client/dnscat . @@ -39,7 +39,8 @@ release: clean @echo "*** By the way, did you update the version number in the server?" @echo "Release compile complete!" -source_release: clean +source_release: + @make clean -mkdir dist/ @cp -r client dnscat2_client @tar -cvvjf dist/dnscat2-${VERSION}-client-source.tar.bz2 dnscat2_client diff --git a/doc/how_to_do_a_release.md b/doc/how_to_do_a_release.md index 4d6fb65a..c50430ba 100644 --- a/doc/how_to_do_a_release.md +++ b/doc/how_to_do_a_release.md @@ -59,13 +59,13 @@ It even zips them for you! They're put into the dist/ folder. Releases on other platforms (like Windows) require some manual work at the moment. Please try to follow my naming scheme: -dnscat2-v0.04-client-source.tar.bz2 -dnscat2-v0.04-client-source.zip -dnscat2-v0.04-client-win32.zip -dnscat2-v0.04-client-x64.tar.bz2 -dnscat2-v0.04-client-x86.tar.bz2 -dnscat2-v0.04-server.tar.bz2 -dnscat2-v0.04-server.zip +* dnscat2-v0.04-client-source.tar.bz2 +* dnscat2-v0.04-client-source.zip +* dnscat2-v0.04-client-win32.zip +* dnscat2-v0.04-client-x64.tar.bz2 +* dnscat2-v0.04-client-x86.tar.bz2 +* dnscat2-v0.04-server.tar.bz2 +* dnscat2-v0.04-server.zip For binaries, the binaries in the archive should be simply "dnscat" - no paths or anything like that.