[Pcsclite-cvs-commit] r2225 - trunk/pycsc
Ludovic Rousseau
rousseau at alioth.debian.org
Mon Nov 20 15:27:51 CET 2006
Author: rousseau
Date: 2006-11-20 15:27:50 +0100 (Mon, 20 Nov 2006)
New Revision: 2225
Added:
trunk/pycsc/Makefile
Log:
new file
Added: trunk/pycsc/Makefile
===================================================================
--- trunk/pycsc/Makefile 2006-11-18 20:56:22 UTC (rev 2224)
+++ trunk/pycsc/Makefile 2006-11-20 14:27:50 UTC (rev 2225)
@@ -0,0 +1,18 @@
+# give some default values
+PREFIX ?= /usr
+DESTDIR ?= /
+ifeq (, $(PYTHONVER))
+ PYTHONVER=2.4
+endif
+PYTHON=python$(PYTHONVER)
+
+build:
+ $(PYTHON) setup.py build
+
+install: build
+ $(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR)
+
+clean:
+ $(PYTHON) setup.py clean
+ rm -rf build
+
More information about the Pcsclite-cvs-commit
mailing list