~ubuntu-branches/ubuntu/trusty/debsums/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Ryan Niebur, Anders Kaseorg, Ryan Niebur
  • Date: 2011-09-04 01:43:59 UTC
  • Revision ID: package-import@ubuntu.com-20110904014359-o2c2lg5m1rjd6byb
Tags: 2.0.49
[ Anders Kaseorg ]
* Use dpkg-query instead of reading /var/lib/dpkg/status directly.  We
  still use /var/lib/dpkg/info directly to find the paths to .md5sums
  files, but now at least we try to verify our guess by checking that
  the corresponding .lists file exist.  (Closes: #616066)
* Add multiarch support.

[ Ryan Niebur ]
* integrate NMUs, thank you Giovanni and David (Closes: #603189)
* when querying dpkg-divert include the user specified root filesystem
  in --admindir (Closes: #632463)
* add Korean translation for debconf templates, thanks min-ji Kang
  (Closes: #632009)
* update debhelper compat version to 8
  - shorten debian/rules
* update policy version to 3.9.2.0
  - set debian/source/format to 3.0 (native)
* check if missing files match dpkg path exclusion settings (Closes:
  #603887)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
package=debsums
6
6
tmp=$(CURDIR)/debian/$(package)
7
7
 
8
 
build: # nothing
9
 
clean:
10
 
        dh_testdir
11
 
        dh_testroot
12
 
        dh_clean
13
 
        debconf-updatepo
14
 
        cd man && po4a --no-translations --rm-backups po4a.cfg
15
 
        rm -f man/po/*~ man/*/debsums*.[18]
16
 
 
17
 
binary-arch: # nothing
18
 
binary-indep:
19
 
        dh_testdir
20
 
        dh_testroot
21
 
        dh_prep
22
 
        dh_installdirs
23
 
 
 
8
%:
 
9
        dh $@
 
10
 
 
11
override_dh_auto_install:
24
12
        cp debsums_gen debsums_init $(tmp)/usr/sbin
25
13
        cp debsums rdebsums $(tmp)/usr/bin
26
14
        chmod 755 $(tmp)/usr/bin/debsums $(tmp)/usr/sbin/debsums_gen \
27
15
            $(tmp)/usr/sbin/debsums_init $(tmp)/usr/bin/rdebsums
28
16
        touch $(tmp)/etc/debsums-ignore
 
17
        cd man && po4a --rm-backups po4a.cfg
 
18
 
 
19
override_dh_auto_clean:
 
20
        debconf-updatepo
 
21
        cd man && po4a --no-translations --rm-backups po4a.cfg
 
22
        rm -f man/po/*~ man/*/debsums*.[18]
 
23
 
 
24
override_dh_installdocs:
29
25
        dh_installdocs README
30
 
        cd man && po4a --rm-backups po4a.cfg
 
26
 
 
27
override_dh_installman:
31
28
        dh_installman `find man -type f -name '*.[18]'`
32
 
 
33
 
        dh_lintian
34
 
        dh_installcron
35
 
        dh_installinit
36
 
        dh_installchangelogs
37
 
        dh_installdebconf
38
 
        dh_compress
39
 
        dh_fixperms
40
 
        dh_installdeb
41
 
        dh_gencontrol
42
 
        dh_md5sums
43
 
        dh_builddeb
44
 
 
45
 
binary: binary-indep binary-arch
46
 
 
47
 
.PHONY: build binary binary-arch binary-indep clean