~ubuntu-branches/ubuntu/oneiric/gdbm/oneiric

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar, Sylvain Beucler, Anibal Monsalve Salazar
  • Date: 2009-10-12 10:34:05 UTC
  • Revision ID: james.westby@ubuntu.com-20091012103405-j2j5qzb95ygfsx3f
Tags: 1.8.3-7
[ Sylvain Beucler <beuc@beuc.net> ]

* Non-maintainer upload.
* Replace obsoleted automake1.4 with automake; gdbm does not use
  'automake' itself but uses 'aclocal' which is provided by that package
  Closes: 549099 
* Fix patch-system-but-no-source-readme: add README.source refering to
  /usr/share/doc/dpatch/README.source.gz
* Fix debian-rules-ignores-make-clean-error: test for Makefile presence
* Fix package-contains-empty-directory: drop empty usr/share/info/ from
  libgdbm-dev
* Fix no-md5sums-control-file: manually generate md5sums control file
  using code from dh_md5sums
* Fix install-info-used-in-maintainer-script: remove postinst.dev and
  prerm.dev, and depends on 'dpkg (>= 1.15.4) | install-info'
* Fix no-symbols-control-file: import base symbols file from
  http://qa.debian.org/cgi-bin/mole/seedsymbols/?pkgname=libgdbm3 to
  'debian/symbols' and drop Debian version number. Keep private _gdbm
  symbols pending discussion with upstream about declaring them
  'static', but tag them 'optional'.

[ Anibal Monsalve Salazar ]

* Fix: gdbm source: out-of-date-standards-version
* Fix: libgdbm3: no-upstream-changelog

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
clean: unpatch
27
27
        $(checkdir)
28
28
        rm -f build config.log config.cache
29
 
        -$(MAKE) -i distclean || $(MAKE) -f Makefile.in distclean
 
29
        [ ! -f Makefile ] || $(MAKE) distclean
30
30
        rm -f config.sub config.guess
31
31
        rm -f $$(find . -name "*~")
32
32
        rm -rf debian/tmp debian/files* debian/substvars* debian/patched
75
75
 
76
76
        $(install_dir) debian/tmp/usr/share/doc/libgdbm3/
77
77
        $(install_file) debian/changelog debian/tmp/usr/share/doc/libgdbm3/changelog.Debian
 
78
        $(install_file) ChangeLog debian/tmp/usr/share/doc/libgdbm3/changelog
78
79
        $(compress) debian/tmp/usr/share/doc/libgdbm3/*
79
80
        $(install_file) debian/copyright debian/tmp/usr/share/doc/libgdbm3/copyright
80
81
 
81
82
        dpkg-shlibdeps debian/tmp/usr/lib/libgdbm.so.3.0.0
82
83
        dpkg-gencontrol -isp -plibgdbm3
 
84
        # md5sums control file
 
85
        cd debian/tmp/; find . -type f ! -regex '.*/DEBIAN/.*' -printf '%P\0' | xargs -r0 md5sum > DEBIAN/md5sums
 
86
        dpkg-gensymbols -plibgdbm3
83
87
        chown -R root.root debian/tmp/
84
88
        chmod -R go=rX debian/tmp/
85
89
        dpkg --build debian/tmp/ ..
118
122
            done
119
123
 
120
124
        rm -f debian/tmp/usr/share/info/gdbm.info
 
125
        rmdir debian/tmp/usr/share/info/
121
126
 
122
127
        $(install_dir) debian/tmp/DEBIAN/
123
 
        $(install_script) debian/postinst.dev debian/tmp/DEBIAN/postinst
124
 
        $(install_script) debian/prerm.dev debian/tmp/DEBIAN/prerm
125
128
 
126
129
        $(install_dir) debian/tmp/usr/share/doc/libgdbm-dev/
127
130
        $(install_file) debian/changelog \
133
136
                        debian/tmp/usr/share/doc/libgdbm-dev/copyright
134
137
 
135
138
        dpkg-gencontrol -isp -plibgdbm-dev
 
139
        # md5sums control file
 
140
        cd debian/tmp/; find . -type f ! -regex '.*/DEBIAN/.*' -printf '%P\0' | xargs -r0 md5sum > DEBIAN/md5sums
136
141
        chown -R root.root debian/tmp/
137
142
        chmod -R go=rX debian/tmp/
138
143
        dpkg --build debian/tmp/ ..