blob: 4623eee00c3af3f33e970c77c8d9c1e8c33c2f98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh -e
#
# $Id: patch-source,v 1.2.4.1 2003/06/01 04:30:13 peloy Exp $
#
for patch in debian/patches/*.patch; do
echo '->'`basename $patch`:
patch -p1 < $patch
done
cat debian/changelog | perl -pi -e '($version) = <STDIN> =~/\((.*)\)/; \
s/\".*\"/\"$version for Debian\"/' source/include/version.h
# Regenerate configure only if it is older than configure.in
[ source/configure -ot source/configure.in ] && (cd source && sh ./autogen.sh)
exit 0
|