~ubuntu-branches/ubuntu/lucid/sysstat/lucid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Robert Luberda
  • Date: 2009-03-08 19:01:43 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20090308190143-88odmo9euvg7f71d
Tags: 9.0.1-1
* New upstream release:
  + sar man page now mentions dependencies on sadc options (closes: #518438).
* Makefile.in: don't update sysstat.pot in clean. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
# $Id: rules,v 1.15 2008-03-02 14:40:30 robert Exp $
 
2
# $Id: rules 1439 2009-03-08 17:59:09Z robert $
3
3
# Sample debian/rules that uses debhelper.
4
4
# This file is public domain software, originally written by Joey Hess.
5
5
#
23
23
        CFLAGS          := -g -O0
24
24
endif
25
25
 
26
 
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
27
 
         LDFLAGS        := -s
28
 
endif
29
 
 
30
26
 
31
27
build: build-stamp
32
28
build-stamp:
48
44
        # Add here commands to compile the package.
49
45
        $(MAKE)
50
46
 
 
47
        chmod a+x debian/debian-sa1
 
48
 
51
49
        touch build-stamp
52
50
 
53
51
clean:
65
63
install: build
66
64
        dh_testdir
67
65
        dh_testroot
68
 
        dh_clean -k
 
66
        dh_prep
69
67
        dh_installdirs
70
68
 
71
69
        # Add here commands to install the package into debian/tmp.
96
94
#       dh_installcatalogs
97
95
#       dh_installpam
98
96
#       dh_installmime
99
 
        dh_installinit --no-start
 
97
        dh_installinit --no-start -- start 20 2 3 4 5 . stop 20 1 .
100
98
#       dh_installman
101
99
        dh_installcron
102
100
#       dh_installinfo