From db0fb3cb8a3dcf9e7415eda5657444603f36a233 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Wed, 16 May 2012 00:23:43 +0200 Subject: [PATCH] Makefile improvements MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit … and remove old run-tests file, obsoleted by the Makefile. --- Makefile | 5 ++++- run-tests.sh | 15 --------------- 2 files changed, 4 insertions(+), 16 deletions(-) delete mode 100755 run-tests.sh diff --git a/Makefile b/Makefile index c17dbeb..2fb3d2e 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,9 @@ $(DOCHTML)/index.html: $(MODNAME) $(RSTFILES) doc: $(DOCHTML)/index.html +dist: + fakeroot ./setup.py sdist + test: for ver in 2.4 2.5 2.6 2.7 3.0 3.1 3.2; do \ if type python$$ver >/dev/null; then \ @@ -32,4 +35,4 @@ clean: rm -f $(MODNAME) rm -rf build -.PHONY: doc test clean +.PHONY: doc test clean dist diff --git a/run-tests.sh b/run-tests.sh deleted file mode 100755 index a7149e2..0000000 --- a/run-tests.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -set -e - -for ver in 2.4 2.5 2.6 3.0 3.1; do - if ! type python$ver >/dev/null; then - echo Skipping python$ver - continue - fi - echo Testing using python$ver - rm -f xattr.so - python$ver ./setup.py clean - python$ver ./setup.py build_ext -i - PYTHONPATH=. python$ver ./test/test_xattr.py -done -- 2.39.5