Code

Removed configure and build-stamp targets.
[pkg-git-completion.git] / debian / rules
1 #!/usr/bin/make -f
2 # debian/rules for git-completion
3 #
4 # Written by Sebastian Harl <sh@tokkee.org>
6 # Uncomment this to turn on verbose mode.
7 #export DH_VERBOSE=1
9 completion_dir="$(CURDIR)/debian/git-completion/etc/bash_completion.d"
11 build:
13 clean:
14         dh_testdir
15         dh_testroot
16         rm -f build-stamp configure-stamp
17         dh_clean 
19 install: build
20         dh_testdir
21         dh_testroot
22         dh_clean -k 
23         dh_installdirs
24         
25         install -d -m 0755 $(completion_dir)
26         
27         for file in cg git gitk stg; do \
28                 install -m 0644 $(CURDIR)/$$file-compl $(completion_dir)/$$file; \
29         done
30         
31         install -m 0644 $(CURDIR)/git-compl-lib $(completion_dir)/git-common
33 binary-indep: build install
34         dh_testdir
35         dh_testroot
36         dh_installchangelogs 
37         dh_installdocs
38         dh_compress
39         dh_fixperms
40         dh_installdeb
41         dh_gencontrol
42         dh_md5sums
43         dh_builddeb
45 binary-arch: build install
46         # nothing to do here
48 binary: binary-indep binary-arch
49 .PHONY: build clean binary-indep binary-arch binary install configure