From 3ca47b0d9c78abe472b2e20cedaa498552df7488 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Wed, 9 Jun 2004 14:26:54 +0000
Subject: [PATCH] Makefile of idle module in common subdirectory

---
 common/Makefile             | 6 ++++++
 setup.py => common/setup.py | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100644 common/Makefile
 rename setup.py => common/setup.py (94%)

diff --git a/common/Makefile b/common/Makefile
new file mode 100644
index 0000000000..5a3d9fef23
--- /dev/null
+++ b/common/Makefile
@@ -0,0 +1,6 @@
+all:
+	python setup.py build_ext -i
+
+clean:
+	rm -f *.so
+	rm -rf build
diff --git a/setup.py b/common/setup.py
similarity index 94%
rename from setup.py
rename to common/setup.py
index fa447858f6..d3dc6ff9c6 100644
--- a/setup.py
+++ b/common/setup.py
@@ -1,7 +1,7 @@
 from distutils.core import setup, Extension
 
 module1 = Extension( 'idle',
-		     sources = ['common/idle.c'],
+		     sources = ['idle.c'],
 #                     extra_compile_args = ['-W'],
                      libraries = ['gtk-x11-2.0','gdk-x11-2.0','glib-2.0','X11','Xext','Xss','atk-1.0'],
                      library_dirs = ['/usr/X11R6/lib'],
-- 
GitLab