summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-06-14 20:35:26 +0200
committerhut <hut@lavabit.com>2010-06-14 20:35:26 +0200
commite278a0035654437cfd28d9c139ba0a08cb01294a (patch)
tree8be567f381437cf154bac2e7d2502c0287f0dc5e
parent7906e083ad518e821f89ead5ba47b8cfce989d28 (diff)
downloadranger-e278a0035654437cfd28d9c139ba0a08cb01294a.tar.gz
make snapshot: prefix ranger-$VERSION/ in archives
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 57a3f8f2..047f4e26 100644
--- a/Makefile
+++ b/Makefile
@@ -110,7 +110,7 @@ bm:
 	@$(PYTHON) test/all_benchmarks.py $(BMCOUNT)
 
 snapshot:
-	git archive HEAD | gzip > $(NAME)-$(VERSION)-$(shell git rev-parse HEAD | cut -b 1-8).tar.gz
+	git archive --prefix='$(NAME)-$(VERSION)/' --format=tar HEAD | gzip > $(NAME)-$(VERSION)-$(shell git rev-parse HEAD | cut -b 1-8).tar.gz
 
 .PHONY: default options all compile clean doc cleandoc test bm \
 	install uninstall snapshot