~ubuntu-branches/ubuntu/intrepid/libirman/intrepid

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2007-08-10 13:36:02 UTC
  • mfrom: (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20070810133602-v3h74emt89q84pe7
Tags: 0.4.4-2
* Add myself to uploaders for some QA work.
* Cleanup changelog.
* Wrap build-deps and uploaders.
* Add ${misc:Depends}.
* Set Debhelper compatibility level via debian/compat instead of DH_COMPAT.
* Cleanup rules.
* Pass -s to dh_* calls in binary-arch.
* Cleanup watch file.
* Drop useless debian/dirs, preinst, postinst, prerm, postrm,
  libirman-dev.dirs.
* Cleanup copyright, *.install files, *.links, and watch file.
* Only pass --host to configure if DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE
  differ.
* Only pass CFLAGS to ./configure.
* Honor make clean errors.
* Fix configure-stamp logic.
* Add a patch system based on quilt; build-dep on quilt; backup config.guess
  and .sub after patching, overwrite with autotool-dev's versions, and
  restore before unpatching; cleanup rules, in particular frop install
  target.
* Drop useless debian/libirman-dev.install and .files.
* New patch, 60_sys-file, look for sys/file.h and include it in irio.c if
  possible; fixes build failure on hurd; thanks Samuel Thibault;
  closes: #436563.
* Avoid running autoheader on rebuilds.
  - New patch, 61_maintainer-mode, adds a kind of "AM_MAINTAINER_MODE" to
    the upstream Make.
  - Pass MAINT="" to the upstream Makefile when building.
  - Fixes build failure when built twice on a row where autoheader was being
    run but wasn't available; closes: #424526.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
# postinst script for libirman
3
 
#
4
 
# see: dh_installdeb(1)
5
 
 
6
 
set -e
7
 
 
8
 
# summary of how this script can be called:
9
 
#        * <postinst> `configure' <most-recently-configured-version>
10
 
#        * <old-postinst> `abort-upgrade' <new version>
11
 
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12
 
#          <new-version>
13
 
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
14
 
#          <failed-install-package> <version> `removing'
15
 
#          <conflicting-package> <version>
16
 
# for details, see http://www.debian.org/doc/debian-policy/ or
17
 
# the debian-policy package
18
 
#
19
 
 
20
 
case "$1" in
21
 
    configure)
22
 
 
23
 
    ;;
24
 
 
25
 
    abort-upgrade|abort-remove|abort-deconfigure)
26
 
 
27
 
    ;;
28
 
 
29
 
    *)
30
 
        echo "postinst called with unknown argument \`$1'" >&2
31
 
        exit 1
32
 
    ;;
33
 
esac
34
 
 
35
 
# dh_installdeb will replace this with shell code automatically
36
 
# generated by other debhelper scripts.
37
 
 
38
 
#DEBHELPER#
39
 
 
40
 
exit 0
41
 
 
42