From 93201c5517f8d992a25bead855ff2b0a4196571e Mon Sep 17 00:00:00 2001
From: Alberto Bertogli <albertito@blitiri.com.ar>
Date: Thu, 26 Mar 2009 20:15:57 -0300
Subject: [PATCH 14/32] Rename python bindings to "python2"

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
---
 Makefile                              |   13 +++++++------
 bindings/{python => python2}/libjio.c |    0
 bindings/{python => python2}/setup.py |    0
 3 files changed, 7 insertions(+), 6 deletions(-)
 rename bindings/{python => python2}/libjio.c (100%)
 rename bindings/{python => python2}/setup.py (100%)

diff --git a/Makefile b/Makefile
index c541228..ea60e21 100644
--- a/Makefile
+++ b/Makefile
@@ -83,11 +83,11 @@ install: all
 	$(NICE_CC) $(ALL_CFLAGS) $(INCLUDES) -c $< -o $@
 
 
-python: all
-	cd bindings/python && python setup.py build
+python2:
+	cd bindings/python2 && python setup.py build
 
-python_install: python
-	cd bindings/python && python setup.py install
+python2_install: python2
+	cd bindings/python2 && python setup.py install
 
 
 preload: all
@@ -106,9 +106,10 @@ preload_install: preload
 clean:
 	rm -f $(OBJS) libjio.a libjio.so libjio.pc jiofsck.o jiofsck
 	rm -f *.bb *.bbg *.da *.gcov *.gcno *.gcda gmon.out
-	rm -rf bindings/python/build/
+	rm -rf bindings/python2/build/
 	rm -rf bindings/preload/build/
 
 
-.PHONY: default all install python python_install preload preload_install clean
+.PHONY: default all install python2 python2_install preload preload_install \
+	clean
 
diff --git a/bindings/python/libjio.c b/bindings/python2/libjio.c
similarity index 100%
rename from bindings/python/libjio.c
rename to bindings/python2/libjio.c
diff --git a/bindings/python/setup.py b/bindings/python2/setup.py
similarity index 100%
rename from bindings/python/setup.py
rename to bindings/python2/setup.py
-- 
1.6.2.rc0.226.gf08f

