r7840: rename directory
[vcs-tree.git] / debian / rules
1 #!/usr/bin/make -f
2
3 pkg     := vcs-tree
4 debpkg  := vcs-tree
5
6
7 bin-dir         := usr/bin
8 doc-dir         := usr/share/doc/$(debpkg)
9
10
11 configure: configure-stamp
12 configure-stamp:
13         dh_testdir
14         # Add here commands to configure the package.
15         touch configure-stamp
16
17
18 build: build-stamp
19
20 build-stamp: configure-stamp 
21         dh_testdir
22         # Add here commands to compile the package.
23         $(MAKE) ${pkg}
24         touch build-stamp
25
26 clean:
27         dh_testdir
28         dh_testroot
29         rm -f build-stamp configure-stamp
30         # Add here commands to clean up after the build process.
31         $(MAKE) clean
32         rm -f debian/${debpkg}.postinst.* debian/${debpkg}.prerm.*
33         dh_clean
34
35 install: build
36         dh_testdir
37         dh_testroot
38         dh_clean -k
39         # Add here commands to install the package into debian/xlunit.
40         dh_installdirs $(bin-dir)
41         dh_install ${pkg} $(bin-dir)
42
43 # Build architecture-independent files here.
44 binary-indep: build install
45
46
47 # Build architecture-dependent files here.
48 binary-arch: build install
49         dh_testdir
50         dh_testroot
51 #       dh_installdebconf       
52         dh_installdocs 
53         dh_installexamples
54 #       dh_installmenu
55 #       dh_installlogrotate
56 #       dh_installemacsen
57 #       dh_installpam
58 #       dh_installmime
59 #       dh_installinit
60 #       dh_installcron
61         dh_installman ${pkg}.1
62 #       dh_installinfo
63 #       dh_undocumented
64         dh_installchangelogs 
65         dh_strip
66         dh_compress
67         dh_fixperms
68 #       dh_makeshlibs
69         dh_installdeb
70 #       dh_perl
71         dh_shlibdeps
72         dh_gencontrol
73         dh_md5sums
74         dh_builddeb
75
76 binary: binary-indep binary-arch
77 .PHONY: build clean binary-indep binary-arch binary install configure
78