New release (version 0.2).
[public/pyceo-broken.git] / debian / rules
index 2009af7..443ce29 100755 (executable)
@@ -2,13 +2,11 @@
 
 PYTHON := python2.4
 
-configure:
-
 build: build-stamp
 
 build-stamp:
        mkdir build
-       $(CC) -DFULL_PATH=\"/usr/lib/csc/ceo\" -o build/ceo misc/setuid-prog.c
+       $(CC) -DFULL_PATH='"/usr/lib/csc/ceo"' -o build/ceo misc/setuid-prog.c
        touch build-stamp
 
 clean:
@@ -17,27 +15,22 @@ clean:
        dh_clean
        rm -f build-stamp
        rm -rf build/
-       find pylib/ -name '*.pyc' -print0 | xargs -0 rm -f
+       find pylib/ -name "*.pyc" -print0 | xargs -0 rm -f
 
 install: build
        dh_testdir
        dh_testroot
-       dh_clean -k 
 
-       # configuration files will contain sensitive information
-       chmod 600 etc/*
-       
        dh_installdirs etc/csc usr/lib/$(PYTHON)/site-packages usr/share/csc \
                       usr/lib/csc usr/bin
-       dh_install -X.svn -X.pyc pylib/csc usr/lib/$(PYTHON)/site-packages/
-       dh_install -X.svn -X.pyc etc/* etc/csc/
-       dh_install -X.svn -X.pyc sql/* usr/share/csc/
+       dh_install pylib/* usr/lib/$(PYTHON)/site-packages/
+       dh_install etc/* etc/csc/
+       dh_install sql/* usr/share/csc/
        
-       dh_install -X.svn -X.pyc bin/ceo usr/lib/csc/
-       dh_install -X.svn -X.pyc build/ceo usr/bin/
+       dh_install bin/ceo usr/lib/csc/
+       dh_install build/ceo usr/bin/
        
-
-binary-indep: build install
+binary-arch: build install
        dh_testdir
        dh_testroot
        dh_installchangelogs 
@@ -60,7 +53,8 @@ binary-indep: build install
        dh_md5sums
        dh_builddeb
 
+binary-indep:
+
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
 
-binary-arch: build install
+.PHONY: build clean binary-indep binary-arch binary install