~ubuntu-branches/ubuntu/warty/d-shlibs/warty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Junichi Uekawa
  • Date: 2004-01-16 22:26:06 UTC
  • Revision ID: james.westby@ubuntu.com-20040116222606-af37fjkqan9mhyui
Tags: 0.20
netatalk support from Jonas Smedegaard <dr@jones.dk> 
(Closes: #228030)

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 compatibility version to use.
 
9
export DH_COMPAT=3
 
10
 
 
11
 
 
12
 
 
13
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 
14
        CFLAGS += -g
 
15
endif
 
16
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 
17
        INSTALL_PROGRAM += -s
 
18
endif
 
19
 
 
20
configure: configure-stamp
 
21
configure-stamp:
 
22
        dh_testdir
 
23
        touch configure-stamp
 
24
 
 
25
build: build-stamp
 
26
 
 
27
build-stamp: configure-stamp 
 
28
        dh_testdir
 
29
        $(MAKE)
 
30
        touch build-stamp
 
31
 
 
32
clean:
 
33
        dh_testdir
 
34
        dh_testroot
 
35
        rm -f build-stamp configure-stamp
 
36
        -$(MAKE) clean
 
37
 
 
38
        dh_clean
 
39
 
 
40
install: build
 
41
        dh_testdir
 
42
        dh_testroot
 
43
        dh_clean -k
 
44
        dh_installdirs
 
45
 
 
46
        $(MAKE) install DESTDIR=$(CURDIR)/debian/d-shlibs
 
47
 
 
48
 
 
49
# Build architecture-independent files here.
 
50
binary-indep: build install
 
51
        dh_testdir
 
52
        dh_testroot
 
53
        dh_installdocs
 
54
        dh_installexamples
 
55
        dh_installmenu
 
56
        dh_installcron
 
57
        dh_installman d-shlibmove.1 d-devlibdeps.1
 
58
        dh_installinfo
 
59
        dh_installchangelogs 
 
60
        dh_link
 
61
        dh_strip
 
62
        dh_compress
 
63
        dh_fixperms
 
64
        dh_installdeb
 
65
        dh_shlibdeps
 
66
        dh_gencontrol
 
67
        dh_md5sums
 
68
        dh_builddeb
 
69
 
 
70
# Build architecture-dependent files here.
 
71
binary-arch: build install
 
72
 
 
73
binary: binary-indep binary-arch
 
74
.PHONY: build clean binary-indep binary-arch binary install configure