mv debian/changelog.tmp debian/changelog
sed -ne '1,/^ --/p' debian/changelog
-if ! [ -f debian/control ] ; then
- make -f debian/rules debian/control
-fi
if [ -f debian/control.in ]; then
case $PACKAGE in
postgis|postgis-2.5) debian/rules debian/control ;; # has its own update rule
*) pg_buildext checkcontrol ;;
esac
fi
+if ! [ -f debian/control ] ; then
+ make -f debian/rules debian/control
+fi
# build source package and move it to 'result' for archiving
echo "$VERSION_STRING" > ../version.txt