~ubuntu-branches/ubuntu/lucid/powernowd/lucid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Bdale Garbee
  • Date: 2004-11-29 02:18:06 UTC
  • Revision ID: james.westby@ubuntu.com-20041129021806-dja38tawf5qx5sso
Tags: 0.90-3
* fix a typo in the man page, closes: #270390
* conflict with cpudyn and cpufreqd, closes: #281067
* update README.Debian to reflect current kernel info, closes: #281066

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 
4
        INSTALL_PROGRAM += -s
 
5
endif
 
6
 
 
7
build: build-stamp
 
8
 
 
9
build-stamp: 
 
10
        dh_testdir
 
11
        $(MAKE)
 
12
        touch build-stamp
 
13
 
 
14
clean:
 
15
        dh_testdir
 
16
        dh_testroot
 
17
        rm -f build-stamp configure-stamp powernowd
 
18
        dh_clean 
 
19
 
 
20
install: build
 
21
        dh_testdir
 
22
        dh_testroot
 
23
        dh_clean -k 
 
24
        dh_installdirs
 
25
 
 
26
        # Add here commands to install the package into debian/powernowd.
 
27
        install -o root -g root -m 0755 powernowd \
 
28
                debian/powernowd/usr/sbin/powernowd
 
29
 
 
30
# Build architecture-independent files here.
 
31
binary-indep: build install
 
32
 
 
33
# Build architecture-dependent files here.
 
34
binary-arch: build install
 
35
        dh_testdir
 
36
        dh_testroot
 
37
        dh_installchangelogs 
 
38
        dh_installdocs
 
39
        dh_installexamples
 
40
        dh_installinit
 
41
        dh_installman debian/powernowd.1
 
42
        dh_link
 
43
        dh_strip
 
44
        dh_compress
 
45
        dh_fixperms
 
46
        dh_installdeb
 
47
        dh_shlibdeps
 
48
        dh_gencontrol
 
49
        dh_md5sums
 
50
        dh_builddeb
 
51
 
 
52
binary: binary-indep binary-arch
 
53
.PHONY: build clean binary-indep binary-arch binary install