~ubuntu-branches/ubuntu/hoary/apt-dpkg-ref/hoary

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Danish
  • Date: 2002-03-28 03:08:21 UTC
  • Revision ID: james.westby@ubuntu.com-20020328030821-e6vjdc4os3ga5nep
Tags: 5
* Added Build-Dependency on tetex-extra (Closes: #140130)
* Fixed typo in make-docs script

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
# GNU copyright 1997 to 1999 by Joey Hess.
 
4
 
 
5
# Uncomment this to turn on verbose mode.
 
6
#export DH_VERBOSE=1
 
7
 
 
8
# This is the debhelper compatability version to use.
 
9
export DH_COMPAT=3
 
10
 
 
11
configure: configure-stamp
 
12
configure-stamp:
 
13
        dh_testdir
 
14
        # Add here commands to configure the package.
 
15
        
 
16
 
 
17
        touch configure-stamp
 
18
 
 
19
build: configure-stamp build-stamp
 
20
build-stamp:
 
21
        dh_testdir
 
22
 
 
23
        # Add here commands to compile the package.
 
24
        ./make-docs
 
25
 
 
26
        touch build-stamp
 
27
 
 
28
clean:
 
29
        dh_testdir
 
30
        dh_testroot
 
31
        rm -f build-stamp configure-stamp
 
32
 
 
33
        # Add here commands to clean up after the build process.
 
34
        ./clean-docs
 
35
        dh_clean
 
36
 
 
37
install: build
 
38
        dh_testdir
 
39
        dh_testroot
 
40
        dh_clean -k
 
41
        dh_installdirs
 
42
 
 
43
 
 
44
 
 
45
# Build architecture-independent files here.
 
46
binary-indep: build install
 
47
# We have nothing to do by default.
 
48
 
 
49
# Build architecture-dependent files here.
 
50
binary-arch: build install
 
51
        dh_testdir
 
52
        dh_testroot
 
53
#       dh_installdebconf       
 
54
        dh_installdocs
 
55
        dh_installexamples
 
56
        dh_installmenu
 
57
#       dh_installlogrotate
 
58
#       dh_installemacsen
 
59
#       dh_installpam
 
60
#       dh_installmime
 
61
#       dh_installinit
 
62
        dh_installcron
 
63
        dh_installman
 
64
        dh_installinfo
 
65
#       dh_undocumented
 
66
        dh_installchangelogs 
 
67
        dh_link
 
68
        dh_strip
 
69
        dh_compress
 
70
        dh_fixperms
 
71
#       dh_makeshlibs
 
72
        dh_installdeb
 
73
#       dh_perl
 
74
        dh_shlibdeps
 
75
        dh_gencontrol
 
76
        dh_md5sums
 
77
        dh_builddeb
 
78
 
 
79
binary: binary-indep binary-arch
 
80
.PHONY: build clean binary-indep binary-arch binary install configure