~juliank/ftpsync/main

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Julian Andres Klode
  • Date: 2007-06-20 16:37:24 UTC
  • Revision ID: jak@jak-linux.org-20070620163724-fhqyx84z6q2wtg8y
* Initial revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
# Uncomment this to turn on verbose mode.
 
4
#export DH_VERBOSE=1
 
5
 
 
6
clean:
 
7
        dh_testdir
 
8
        dh_testroot
 
9
        python setup.py clean
 
10
        rm -f build-stamp install-stamp
 
11
        find -name '*.pyc' -delete
 
12
        rm -rf build
 
13
        dh_clean 
 
14
 
 
15
build:
 
16
        python setup.py build
 
17
        touch $@-stamp
 
18
 
 
19
install:
 
20
        python setup.py install --root $(CURDIR)/debian/ftpsync
 
21
        touch $@-stamp
 
22
 
 
23
binary-indep: build install
 
24
        dh_testdir
 
25
        dh_testroot
 
26
        dh_installchangelogs 
 
27
        dh_installdocs
 
28
        dh_pycentral
 
29
        dh_compress
 
30
        dh_fixperms
 
31
        dh_installdeb
 
32
        dh_shlibdeps
 
33
        dh_gencontrol
 
34
        dh_md5sums
 
35
        dh_builddeb
 
36
 
 
37
# Build architecture-dependent files here.
 
38
binary-arch: build install
 
39
 
 
40
binary: binary-indep binary-arch
 
41
.PHONY: build clean binary-indep binary-arch binary install