summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-08 19:03:46 +0100
committerhut <hut@lavabit.com>2010-03-08 19:06:38 +0100
commitea775b1c823d150ec6179a4f831ac88f86a8309d (patch)
tree7c26bc0cf52e5c732e479a2f0c323c096bfdc562
parent014c539270f8e31a1b3ff0aea57c00eadd67a9d3 (diff)
downloadranger-ea775b1c823d150ec6179a4f831ac88f86a8309d.tar.gz
make minimal_snapshot: snapshot with only neccessary files
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 392c6a9a..0d307907 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ DOCDIR = doc/pydoc
 CWD = $(shell pwd)
 EDITOR = vim
 
-.PHONY: all clean doc cleandoc edit push test commit install info snapshot
+.PHONY: all clean doc cleandoc edit push test commit install info snapshot minimal_snapshot
 
 info:
 	@echo 'This makefile provides shortcuts for common tasks.'
@@ -56,3 +56,15 @@ commit: test
 
 snapshot:
 	git archive HEAD | gzip > $(NAME)-$(shell git rev-list HEAD | head -n 1 | cut -b 1-16).tar.gz
+
+minimal_snapshot:
+	@echo 'This is not quite working well. I will abort now' && false
+	git checkout -b no_help
+	git rm -rf doc
+	git rm -rf test
+	git rm all_tests.py
+	git rm TODO
+	git commit -a -m'removed documentation'
+	git archive HEAD | gzip > $(NAME)-$(shell git rev-list HEAD | head -n 1 | cut -b 1-16).tar.gz
+	git reset --hard no_help^
+	git branch -D no_help
24 14:51:39 +0100 Make header defines consistent' href='/danisanti/profani-tty/commit/src/otr/otrlib.h?id=9cff37352a0200dbe0acb1b6a9e5810ee33743ea'>9cff3735 ^
450c01ec ^


09472e43 ^

a2726b6a ^
450c01ec ^
1155ceab ^


a2726b6a ^
450c01ec ^
a2726b6a ^
450c01ec ^
a2726b6a ^

450c01ec ^
a2726b6a ^

450c01ec ^
a2726b6a ^
06d81ed9 ^
450c01ec ^
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
56
57
58
59
60