about summary refs log tree commit diff stats
diff options
context:
space:
mode:
l---------doc/config/colorschemes/default.py1
l---------doc/config/colorschemes/jungle.py1
l---------doc/config/colorschemes/snow.py1
l---------doc/config/commands.py1
l---------doc/config/rc.conf1
l---------doc/config/rifle.conf1
l---------doc/config/scope.sh1
-rwxr-xr-xsetup.py13
8 files changed, 11 insertions, 9 deletions
diff --git a/doc/config/colorschemes/default.py b/doc/config/colorschemes/default.py
new file mode 120000
index 00000000..3d8cfddb
--- /dev/null
+++ b/doc/config/colorschemes/default.py
@@ -0,0 +1 @@
+../../../ranger/colorschemes/default.py
\ No newline at end of file
diff --git a/doc/config/colorschemes/jungle.py b/doc/config/colorschemes/jungle.py
new file mode 120000
index 00000000..ce0aa2c4
--- /dev/null
+++ b/doc/config/colorschemes/jungle.py
@@ -0,0 +1 @@
+../../../ranger/colorschemes/jungle.py
\ No newline at end of file
diff --git a/doc/config/colorschemes/snow.py b/doc/config/colorschemes/snow.py
new file mode 120000
index 00000000..315d63c7
--- /dev/null
+++ b/doc/config/colorschemes/snow.py
@@ -0,0 +1 @@
+../../../ranger/colorschemes/snow.py
\ No newline at end of file
diff --git a/doc/config/commands.py b/doc/config/commands.py
new file mode 120000
index 00000000..11905118
--- /dev/null
+++ b/doc/config/commands.py
@@ -0,0 +1 @@
+../../ranger/config/commands.py
\ No newline at end of file
diff --git a/doc/config/rc.conf b/doc/config/rc.conf
new file mode 120000
index 00000000..f9d2522a
--- /dev/null
+++ b/doc/config/rc.conf
@@ -0,0 +1 @@
+../../ranger/config/rc.conf
\ No newline at end of file
diff --git a/doc/config/rifle.conf b/doc/config/rifle.conf
new file mode 120000
index 00000000..d542e16c
--- /dev/null
+++ b/doc/config/rifle.conf
@@ -0,0 +1 @@
+../../ranger/config/rifle.conf
\ No newline at end of file
diff --git a/doc/config/scope.sh b/doc/config/scope.sh
new file mode 120000
index 00000000..d9264caa
--- /dev/null
+++ b/doc/config/scope.sh
@@ -0,0 +1 @@
+../../ranger/data/scope.sh
\ No newline at end of file
diff --git a/setup.py b/setup.py
index 4698d60b..b9a9bd6a 100755
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,8 @@ import os.path
 import ranger
 
 def _findall(directory):
-    return [os.path.join(directory, f) for f in os.listdir(directory)]
+    return [os.path.join(directory, f) for f in os.listdir(directory) \
+            if os.path.isfile(os.path.join(directory, f))]
 
 if __name__ == '__main__':
     distutils.core.setup(
@@ -29,15 +30,9 @@ if __name__ == '__main__':
                  'CHANGELOG',
                  'doc/HACKING',
                  'doc/colorschemes.txt']),
-            ('share/doc/ranger/config',
-                ['ranger/config/commands.py',
-                 'ranger/config/rc.conf',
-                 'ranger/config/rifle.conf',
-                 'ranger/data/scope.sh']),
             ('share/doc/ranger/config/colorschemes',
-                ['ranger/colorschemes/default.py',
-                 'ranger/colorschemes/jungle.py',
-                 'ranger/colorschemes/snow.py']),
+                _findall('doc/config/colorschemes')),
+            ('share/doc/ranger/config', _findall('doc/config')),
             ('share/doc/ranger/tools', _findall('doc/tools')),
             ('share/doc/ranger/examples', _findall('doc/examples')),
         ],