Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # $Id: rules 5 2004-03-01 22:16:51Z bob $
3 # Sample debian/rules that uses debhelper
4 # This file is public domain software, originally written by Joey Hess.
5
6 # Nothing to do.
7 build: build-arch build-indep
8 build-arch: build-stamp
9 build-indep: build-stamp
10 build-stamp:
11
12 clean:
13 dh_testdir
14 rm -f build-stamp
15 dh_clean
16
17 install: build
18 dh_testdir
19 dh_testroot
20 dh_prep
21 dh_installdirs
22
23 # Add here commands to install the package into debian/<packagename>.
24 $(MAKE) DESTDIR=$(CURDIR)/debian/colordiff INSTALL_DIR=/usr/bin MAN_DIR=/usr/share/man/man1 install
25
26 # Build architecture-independent files here.
27 binary-indep: build install
28 dh_testdir
29 dh_testroot
30 dh_installexamples
31 dh_installchangelogs CHANGES
32 dh_installdocs
33 dh_installman
34 dh_link
35 dh_compress
36 dh_fixperms
37 dh_perl
38 dh_installdeb
39 dh_gencontrol
40 dh_md5sums
41 dh_builddeb
42
43 # Build architecture-dependent files here.
44 binary-arch: build install
45 # We have nothing to do by default.
46
47 binary: binary-indep binary-arch
48 .PHONY: build clean binary-indep binary-arch binary install pre-build
49
50 # vim:ts=4:sw=4: