~ubuntu-branches/ubuntu/breezy/garlic/breezy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): zhaoway
  • Date: 2001-04-24 07:09:13 UTC
  • Revision ID: james.westby@ubuntu.com-20010424070913-lk0e5d5c7fkwx1op
Tags: 1.1-2
Fix relative-conffile

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
        $(MAKE) CCOPT=-O3
 
16
 
 
17
        touch build-stamp
 
18
 
 
19
clean:
 
20
        dh_testdir
 
21
        dh_testroot
 
22
        rm -f build-stamp
 
23
 
 
24
        -rm -f *.o garlic
 
25
 
 
26
        dh_clean
 
27
 
 
28
install: build
 
29
        dh_testdir
 
30
        dh_testroot
 
31
        dh_clean -k
 
32
        dh_installdirs
 
33
 
 
34
        install -o root -g root -m 0755 -D -s garlic `pwd`/debian/`dh_listpackages`/usr/bin/garlic
 
35
        install -o root -g root -m 0644 -D .garlicrc `pwd`/debian/`dh_listpackages`/etc/garlicrc
 
36
 
 
37
# Build architecture-independent files here.
 
38
binary-indep: build install
 
39
# We have nothing to do by default.
 
40
 
 
41
# Build architecture-dependent files here.
 
42
binary-arch: build install
 
43
        dh_testdir
 
44
        dh_testroot
 
45
#       dh_installdebconf       
 
46
        dh_installdocs
 
47
        dh_installexamples
 
48
        dh_installmenu
 
49
#       dh_installlogrotate
 
50
#       dh_installemacsen
 
51
#       dh_installpam
 
52
#       dh_installmime
 
53
#       dh_installinit
 
54
#       dh_installcron
 
55
        dh_installman debian/garlic.1
 
56
#       dh_installinfo
 
57
#       dh_undocumented
 
58
        dh_installchangelogs
 
59
#       dh_link
 
60
        dh_strip
 
61
        dh_compress
 
62
        dh_fixperms
 
63
#       dh_makeshlibs
 
64
        dh_installdeb
 
65
#       dh_perl
 
66
        dh_shlibdeps
 
67
        dh_gencontrol
 
68
        dh_md5sums
 
69
        dh_builddeb
 
70
 
 
71
binary: binary-indep binary-arch
 
72
.PHONY: build clean binary-indep binary-arch binary install