~ubuntu-branches/ubuntu/vivid/sqlmap/vivid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Bernardo Damele A. G.
  • Date: 2009-02-03 23:30:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090203233000-ccyy2wt461w7phvh
Tags: 0.6.4-1
Initial release (Closes: #497667)

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
include /usr/share/dpatch/dpatch.make
 
7
 
 
8
 
 
9
configure: configure-stamp
 
10
 
 
11
configure-stamp:
 
12
        dh_testdir
 
13
        touch configure-stamp
 
14
 
 
15
 
 
16
build: patch build-stamp
 
17
 
 
18
build-stamp: configure-stamp 
 
19
        dh_testdir
 
20
        touch $@
 
21
 
 
22
 
 
23
clean: clean-patched unpatch
 
24
 
 
25
clean-patched: patch-stamp
 
26
        rm -f build-stamp configure-stamp
 
27
 
 
28
        dh_clean
 
29
 
 
30
 
 
31
install: patch build
 
32
        dh_testdir
 
33
        dh_testroot
 
34
        dh_clean -k
 
35
        dh_installdirs
 
36
 
 
37
        cp -r lib plugins shell txt xml debian/sqlmap/usr/share/sqlmap/
 
38
 
 
39
        install -D -m 755 sqlmap.py debian/sqlmap/usr/share/sqlmap/sqlmap
 
40
 
 
41
# Build architecture-independent files here.
 
42
binary-indep: install
 
43
        dh_testdir
 
44
        dh_testroot
 
45
        dh_installchangelogs
 
46
        dh_installdocs
 
47
        dh_installexamples
 
48
        dh_installman
 
49
        dh_link
 
50
        dh_compress
 
51
        dh_fixperms
 
52
        dh_installdeb
 
53
        dh_pysupport
 
54
        dh_gencontrol
 
55
        dh_md5sums
 
56
        dh_builddeb
 
57
 
 
58
# Build architecture-dependent files here.
 
59
binary-arch: install
 
60
 
 
61
binary: binary-indep binary-arch
 
62
.PHONY: build clean binary-indep binary-arch binary install configure