~ubuntu-branches/ubuntu/saucy/geant321/saucy-proposed

« back to all changes in this revision

Viewing changes to debian/patches/000-unpack.sh.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Kevin B. McCarty
  • Date: 2006-07-06 09:43:53 UTC
  • Revision ID: james.westby@ubuntu.com-20060706094353-w4gdbptc5kklds1t
Tags: 1:3.21.14.dfsg-1
* Split off GEANT 3.21 into a separate source package.  Use the version
  numbering embedded in source instead of the date of release.

* For previous changelog entries (versions 2005.05.09.dfsg-9 and earlier),
  please see the changelog.Debian in the cernlib-base binary package or
  the cernlib source package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# This is a fake patch used to convince dpatch-edit-patch to unpack the
 
4
# Cernlib source code before trying to generate a diff from it.
 
5
# This is a no-op if called when the source has already been unpacked, e.g.
 
6
# if running "fakeroot debian/rules patch".
 
7
 
8
# Yes, this is an ugly hack.
 
9
 
 
10
set -e
 
11
case "$1" in
 
12
        -patch)   [ -e Makefile ] || cp -p debian/add-ons/Makefile .
 
13
                  make prefix=/usr stampdir/configure-stamp ;;
 
14
        -unpatch) exit 0 ;;
 
15
        *)        exit 1 ;;
 
16
esac