summaryrefslogtreecommitdiffstats
path: root/package/python
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-09 19:48:32 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-09 19:48:32 +0000
commit8458eb944119973ede678fcc443981c2b7f62b49 (patch)
treebad23686587552841687800af50d884a5fd0dff9 /package/python
parent55703607e6be5b42578536e9faaa552f57923f6d (diff)
downloadbuildroot-novena-8458eb944119973ede678fcc443981c2b7f62b49.tar.gz
buildroot-novena-8458eb944119973ede678fcc443981c2b7f62b49.zip
prune a few more files
Diffstat (limited to 'package/python')
-rw-r--r--package/python/python.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/python/python.mk b/package/python/python.mk
index 92139dca2..60374860f 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -61,11 +61,13 @@ $(TARGET_DIR)/$(PYTHON_TARGET_BINARY): $(PYTHON_DIR)/$(PYTHON_BINARY)
$(MAKE) CC=$(TARGET_CC) -C $(PYTHON_DIR) install \
DESTDIR=$(TARGET_DIR) CROSS_COMPILE=yes \
HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen
+ rm $(TARGET_DIR)/usr/bin/python?.?
rm $(TARGET_DIR)/usr/bin/idle
rm $(TARGET_DIR)/usr/bin/pydoc
find $(TARGET_DIR)/usr/lib/ -name '*.pyc' -o -name '*.pyo' | xargs rm
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
- $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
+ $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc \
+ $(TARGET_DIR)/usr/lib/python*/test
python: uclibc $(TARGET_DIR)/$(PYTHON_TARGET_BINARY)