summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-09-11 22:56:00 +0200
committerhut <hut@lavabit.com>2010-09-11 22:56:00 +0200
commit27eec7c6b53303acfd7713f7cc696ea50894a6b1 (patch)
treef5a1a27ce4fbfaad3b154c313d2d18bdf9c62255
parent471fc68047418ec7af877598b19696837ed7750c (diff)
downloadranger-27eec7c6b53303acfd7713f7cc696ea50894a6b1.tar.gz
Makefile, setup.py: Fixed `make doc`
-rw-r--r--Makefile1
-rwxr-xr-xsetup.py47
2 files changed, 24 insertions, 24 deletions
diff --git a/Makefile b/Makefile
index 1b26e117..fd525721 100644
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,6 @@ doc: cleandoc
 		$(PYTHON) -c 'import pydoc, sys; \
 		sys.path[0] = "$(CWD)"; \
 		pydoc.writedocs("$(CWD)")'
-	rm $(DOCDIR)/test*
 	find . -name \*.html -exec sed -i 's|'$(CWD)'|../..|g' -- {} \;
 
 cleandoc:
diff --git a/setup.py b/setup.py
index 17cfc660..587b52c0 100755
--- a/setup.py
+++ b/setup.py
@@ -17,26 +17,27 @@
 import distutils.core
 import ranger
 
-distutils.core.setup(
-	name='ranger',
-	description='Vim-like file manager',
-	version=ranger.__version__,
-	author=ranger.__author__,
-	author_email=ranger.__email__,
-	license=ranger.__license__,
-	url='http://savannah.nongnu.org/projects/ranger',
-	scripts=['scripts/ranger'],
-	data_files=[('share/man/man1', ['doc/ranger.1'])],
-	package_data={'ranger': ['data/*']},
-	packages=('ranger',
-	          'ranger.api',
-	          'ranger.colorschemes',
-	          'ranger.container',
-	          'ranger.core',
-	          'ranger.defaults',
-	          'ranger.ext',
-	          'ranger.fsobject',
-	          'ranger.gui',
-	          'ranger.gui.widgets',
-	          'ranger.help',
-	          'ranger.shared'))
+if __name__ == '__main__':
+	distutils.core.setup(
+		name='ranger',
+		description='Vim-like file manager',
+		version=ranger.__version__,
+		author=ranger.__author__,
+		author_email=ranger.__email__,
+		license=ranger.__license__,
+		url='http://savannah.nongnu.org/projects/ranger',
+		scripts=['scripts/ranger'],
+		data_files=[('share/man/man1', ['doc/ranger.1'])],
+		package_data={'ranger': ['data/*']},
+		packages=('ranger',
+		          'ranger.api',
+		          'ranger.colorschemes',
+		          'ranger.container',
+		          'ranger.core',
+		          'ranger.defaults',
+		          'ranger.ext',
+		          'ranger.fsobject',
+		          'ranger.gui',
+		          'ranger.gui.widgets',
+		          'ranger.help',
+		          'ranger.shared'))
lame the previous revision' href='/akspecs/ranger/blame/doc/examples/vim_file_chooser.vim?h=v1.9.2&id=75533afccc5e96b231565adba923ba373cba2c6f'>^
796074b5 ^
ee35f41d ^

93654aa0 ^
ee35f41d ^








ab90d5bb ^
ee35f41d ^


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