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
/span> ^
f42724c ^


fc719e4 ^



3874269 ^
24883c5 ^
7f540df ^
3874269 ^




c21ec37 ^
7f540df ^





fc719e4 ^


f42724c ^
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55