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
>038b2f8 ^
6a712db ^

a8464ae ^
c2af133 ^






86b7c42 ^
c5daf91 ^
fff90c7 ^
c2af133 ^
99d2df6 ^


c5daf91 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30