~ubuntu-branches/ubuntu/natty/trac-accountmanager/natty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Leo Costela
  • Date: 2008-07-15 17:21:11 UTC
  • Revision ID: james.westby@ubuntu.com-20080715172111-wte3vxnkw4ktkuqk
Tags: 0.2.1~vcs20080715-1
first release (Closes: #489320).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
build: build-stamp
 
4
build-stamp:
 
5
        python setup.py build
 
6
        touch $@
 
7
 
 
8
clean:
 
9
        dh_testdir
 
10
        dh_testroot
 
11
        rm -f build-stamp
 
12
        dh_clean
 
13
        rm -f *.egg-info
 
14
        find . -name *\.py[co] -exec rm {} \;
 
15
 
 
16
install: build
 
17
        dh_testdir
 
18
        dh_testroot
 
19
        dh_clean
 
20
        dh_install
 
21
        python setup.py install \
 
22
                --root=$(CURDIR)/debian/trac-accountmanager \
 
23
                --single-version-externally-managed
 
24
 
 
25
binary-indep: build install
 
26
        dh_testdir
 
27
        dh_testroot
 
28
        dh_pycentral
 
29
        dh_installchangelogs
 
30
        dh_installdocs
 
31
        dh_compress
 
32
        dh_fixperms
 
33
        dh_installdeb
 
34
        dh_gencontrol
 
35
        dh_md5sums
 
36
        dh_builddeb
 
37
 
 
38
binary-arch:
 
39
 
 
40
binary: binary-indep
 
41
.PHONY: build clean binary-indep binary-arch binary install