first very rough cleanup
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 16 Jan 2013 09:17:46 +0000 (10:17 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 16 Jan 2013 09:17:46 +0000 (10:17 +0100)
Makefile.debian

index 1c78bf5..070db54 100644 (file)
@@ -1,18 +1,9 @@
-# $Id: Makefile,v 1.6 2008/10/29 01:01:35 ghantoos Exp $
-#
-
-PYTHON=`which python`
+PYTHON=python
 DESTDIR=/
-BUILDIR=$(CURDIR)/debian/sfa
 PROJECT=sfa
 VERSION=0.2.0
 
-all:
-       @echo "make source - Create source package"
-       @echo "make install - Install on local system"
-       @echo "make buildrpm - Generate a rpm package"
-       @echo "make builddeb - Generate a deb package"
-       @echo "make clean - Get rid of scratch and byte files"
+all: builddeb 
 
 source:
        $(PYTHON) setup.py sdist $(COMPILE)
@@ -20,8 +11,8 @@ source:
 install:
        $(PYTHON) setup.py install --root $(DESTDIR) $(COMPILE)
 
-buildrpm:
-       $(PYTHON) setup.py bdist_rpm --post-install=rpm/postinstall --pre-uninstall=rpm/preuninstall
+#buildrpm:
+#      $(PYTHON) setup.py bdist_rpm --post-install=rpm/postinstall --pre-uninstall=rpm/preuninstall
 
 builddeb:
        rm -f sfaadmin sfascan sfi  
@@ -37,3 +28,11 @@ clean:
        $(MAKE) -f $(CURDIR)/debian/rules clean
        rm -rf build/ MANIFEST
        find . -name '*.pyc' -delete
+
+help:
+       @echo "make source - Create source package"
+       @echo "make install - Install on local system"
+#      @echo "make buildrpm - Generate an rpm package"
+       @echo "make builddeb - Generate a deb package"
+       @echo "make clean - Get rid of scratch and byte files"
+