Update NEWS entries to reflect new version
[pkg-k5-afs_openafs.git] / debian / module / genchanges
blob5aa47cc86f9a023fa9b4f01c905911e40acac297
1 #!/bin/sh
2 # genchanges.sh - generate a changes file for a deb file generated via
3 # the make-kpkg utility
5 # KSRC, KVERS, KMAINT, and KEMAIL are expected to be passed through the
6 # environment.
8 set -e
9 umask 022
11 MODVERS=`cat debian/VERSION | sed s/:/\+/`
12 ARCH=`dpkg --print-architecture`
14 mprefix=`grep Package: debian/control.in | cut -d' ' -f 2 | cut -d= -f 1`
15 chfile="$KSRC/../$mprefix${KVERS}${INT_SUBARCH}_${MODVERS}_${ARCH}.changes"
17 dpkg-genchanges -b ${KMAINT:+-m"$KMAINT <$KEMAIL>"} -u"$KSRC/.." \
18 -cdebian/control > "$chfile"
19 #debsign "$chfile"