~ubuntu-branches/ubuntu/intrepid/whichman/intrepid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Robert Luberda
  • Date: 2001-12-22 22:22:00 UTC
  • Revision ID: james.westby@ubuntu.com-20011222222200-fe9i20cox60s4unq
Tags: 2.0-2
* Corrected spelling error in description (closes: #125481) and upstream
  README file. Thanks to Matt Ziemmerman.
* Standards-Version: 3.5.6 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# Sample debian/rules that uses debhelper.
 
3
# This file is public domain software, originally written by Joey Hess. 
 
4
 
 
5
# Uncomment this to turn on verbose mode.
 
6
#export DH_VERBOSE=1
 
7
 
 
8
# This is the debhelper compatibility version to use.
 
9
export DH_COMPAT=3
 
10
 
 
11
build: build-stamp
 
12
build-stamp:
 
13
        dh_testdir
 
14
 
 
15
        # Add here commands to compile the package.
 
16
        $(MAKE)
 
17
 
 
18
        touch build-stamp
 
19
 
 
20
clean:
 
21
        dh_testdir
 
22
        dh_testroot
 
23
        rm -f build-stamp
 
24
 
 
25
        # Add here commands to clean up after the build process.
 
26
        -$(MAKE) clean
 
27
 
 
28
        dh_clean
 
29
 
 
30
install: build
 
31
        dh_testdir
 
32
        dh_testroot
 
33
        dh_clean -k
 
34
        dh_installdirs
 
35
 
 
36
        # Add here commands to install the package into debian/<packagename>
 
37
        $(MAKE) install PREFIX=$(CURDIR)/debian/$(shell dh_listpackages)/usr
 
38
 
 
39
# Build architecture-independent files here.
 
40
binary-indep: build install
 
41
# We have nothing to do by default.
 
42
 
 
43
# Build architecture-dependent files here.
 
44
binary-arch: build install
 
45
        dh_testdir
 
46
        dh_testroot
 
47
#       dh_installdebconf       
 
48
        dh_installdocs
 
49
#       dh_installexamples
 
50
#       dh_installmenu
 
51
#       dh_installlogrotate
 
52
#       dh_installemacsen
 
53
#       dh_installpam
 
54
#       dh_installmime
 
55
#       dh_installinit
 
56
#       dh_installcron
 
57
#       dh_installman
 
58
#       dh_installinfo
 
59
#       dh_undocumented
 
60
        dh_installchangelogs
 
61
        dh_link
 
62
        dh_strip
 
63
        dh_compress
 
64
        dh_fixperms
 
65
#       dh_makeshlibs
 
66
        dh_installdeb
 
67
#       dh_perl
 
68
        dh_shlibdeps
 
69
        dh_gencontrol
 
70
        dh_md5sums
 
71
        dh_builddeb
 
72
 
 
73
binary: binary-indep binary-arch
 
74
.PHONY: build clean binary-indep binary-arch binary install