+debhelper (0.34) unstable; urgency=low
+
+ * Fixed typo #16215.
+
+ -- Joey Hess <joeyh@master.debian.org> Mon, 22 Dec 1997 14:41:46 -0500
+
debhelper (0.33) unstable; urgency=low
* examples/*: use prefix, instead of PREFIX, becuase autoconf uses that.
correct permissions, canculating shared library dependancies, and creating a
control file.
.P
-This program is depricated. It is now merely a wrapper around three other
+This program is deprecated. It is now merely a wrapper around three other
programs, and you may replace any calls to this program by:
.P
dh_installdeb
esac
done
-# Get the package version from the changelog.
-LINE=`head -1 debian/changelog`
-VERSION=`expr "$LINE" : '.* (\(.*\))'`
+# Get the package version.
+# Note that the 2>/dev/null is because a bug in dpkg-parsechangelog makes it
+# output a bogus error message to stderr.
+# If it actually has a real error, then the expr will fail, and this whole
+# script will come crashing to a halt, which is good enough to inform
+# the user something's wrong. :-)
+VERSION=`expr "\`dpkg-parsechangelog 2>/dev/null\`" : '.*Version: \(.*\).*Distribution:'`
# Get the name of the main binary package.
MAINPACKAGE=`grep ^Package: debian/control | cut -d " " -f 2 | head -1`