Commit in lcio/src/python on MAIN
Makefile+17-11.2 -> 1.3
JM: Adding simple install target to python binding

lcio/src/python
Makefile 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- Makefile	27 Feb 2006 17:58:53 -0000	1.2
+++ Makefile	2 Mar 2006 00:57:34 -0000	1.3
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.2 2006/02/27 17:58:53 jeremy Exp $
+# $Id: Makefile,v 1.3 2006/03/02 00:57:34 jeremy Exp $
 
 #
 # Makefile to build python wrappers to LCIO C++ library using Swig.
@@ -77,3 +77,19 @@
 
 test:
 	$(PYTHON) test.py;:
+
+# Python install
+ifndef PYTHONHOME
+  PYTHONHOME = /usr/local
+endif
+
+ifndef PYTHONVER
+  PYTHONVER = 2.4
+endif
+
+ifndef PYTHON_INSTALL_DIR
+  PYTHON_INSTALL_DIR = $(PYTHONHOME)/lib/python$(PYTHONVER)/
+endif
+
+install:
+	cp _lcio.so lcio.pyc lcio.py $(PYTHON_INSTALL_DIR)
CVSspam 0.2.8