~ubuntu-branches/ubuntu/oneiric/gkrellmoon/oneiric

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Martin Zobel-Helas
  • Date: 2004-11-19 22:55:21 UTC
  • Revision ID: james.westby@ubuntu.com-20041119225521-pmuy6kl327g5wevc
Tags: upstream-0.6
ImportĀ upstreamĀ versionĀ 0.6

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
        # Add here commands to configure the package.
 
24
 
 
25
        touch configure-stamp
 
26
 
 
27
 
 
28
build: build-stamp
 
29
 
 
30
build-stamp: configure-stamp 
 
31
        dh_testdir
 
32
 
 
33
        # Add here commands to compile the package.
 
34
        $(MAKE)
 
35
 
 
36
        touch build-stamp
 
37
 
 
38
clean:
 
39
        dh_testdir
 
40
        dh_testroot
 
41
        rm -f build-stamp configure-stamp
 
42
 
 
43
        # Add here commands to clean up after the build process.
 
44
        -$(MAKE) clean
 
45
 
 
46
        dh_clean
 
47
 
 
48
install: build
 
49
        dh_testdir
 
50
        dh_testroot
 
51
        dh_clean -k
 
52
        dh_installdirs
 
53
 
 
54
        # Add here commands to install the package into debian/gkrellmoon.
 
55
        $(MAKE) install DESTDIR=$(CURDIR)/debian/gkrellmoon
 
56
 
 
57
 
 
58
# Build architecture-independent files here.
 
59
binary-indep: build install
 
60
# We have nothing to do by default.
 
61
 
 
62
# Build architecture-dependent files here.
 
63
binary-arch: build install
 
64
        dh_testdir
 
65
        dh_testroot
 
66
#       dh_installdebconf       
 
67
#       dh_installdocs
 
68
#       dh_installexamples
 
69
#       dh_installmenu
 
70
#       dh_installlogrotate
 
71
#       dh_installemacsen
 
72
#       dh_installpam
 
73
#       dh_installmime
 
74
#       dh_installinit
 
75
#       dh_installcron
 
76
#       dh_installman
 
77
#       dh_installinfo
 
78
#       dh_undocumented
 
79
        dh_installchangelogs ChangeLog
 
80
        dh_link
 
81
        dh_strip
 
82
        dh_compress
 
83
        dh_fixperms
 
84
#       dh_makeshlibs
 
85
        dh_installdeb
 
86
#       dh_perl
 
87
        dh_shlibdeps
 
88
        dh_gencontrol
 
89
        dh_md5sums
 
90
        dh_builddeb
 
91
 
 
92
binary: binary-indep binary-arch
 
93
.PHONY: build clean binary-indep binary-arch binary install configure