Update of /cvsroot/fxpy/FXPy
In directory sc8-pr-cvs1:/tmp/cvs-serv25119
Modified Files:
Makefile
Log Message:
use SETUP var
Index: Makefile
===================================================================
RCS file: /cvsroot/fxpy/FXPy/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile 11 Feb 2002 09:58:49 -0000 1.2
+++ Makefile 22 Feb 2003 00:18:02 -0000 1.3
@@ -1,13 +1,15 @@
# This Makefile is only used by developers.
PYTHON=python
+SETUP=$(PYTHON) setup.py
all: swig
+ $(SETUP) build
swig:
cd swig && ./build.sh
clean:
- -$(PYTHON) setup.py clean --all # ignore errors of this command
+ -$(SETUP) clean --all # ignore errors of this command
distclean: clean cleandeb
rm -rf dist build # just to be sure clean also the build dir
@@ -19,13 +21,13 @@
# on Debian use 'fakeroot debian/rules clean' or 'debuild clean' or
# 'debclean' (read the appropriate man pages)
cleandeb:
- rm -rf debian/fxpy0.99-python2.1
+ rm -rf debian/fxpy-python2.[12]
rm -f debian/*.debhelper debian/*files debian/*substvars
rm -f configure-stamp build-stamp
# make a source distribution
dist:
- $(PYTHON) setup.py sdist --formats=gztar,zip bdist_wininst
+ $(SETUP) sdist --formats=gztar,zip bdist_wininst
# produce the .deb Debian package
deb_local:
|