Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 8137808135
Fetching contributors…

Cannot retrieve contributors at this time

executable file 29 lines (28 sloc) 0.986 kB
#! /bin/bash
. make-dist.sh
DEB_DIR=$DIST_DIR-debianized
rm -rf $DEB_DIR nulloy_$VERSION*
tar -xzf $DIST_DIR.tar.gz
ln -s $DIST_DIR.tar.gz $DIST_DIR.orig.tar.gz
mv $DIST_DIR $DEB_DIR
cd $DEB_DIR
mv obs debian
rm -rf debian/nulloy* *.patch
find debian/ -type f | awk -F/ '{print $NF}' | while read file; do mv debian/$file debian/${file#*.}; done
if ! grep -qw $VERSION debian/changelog; then
CHANGELOG=debian/changelog
CHANGELOG_PREP=debian/changelog_prepend
echo "nulloy ($VERSION-1) unstable; urgency=low" > $CHANGELOG_PREP
echo "" >> $CHANGELOG_PREP
echo " * $VERSION build" >> $CHANGELOG_PREP
echo "" >> $CHANGELOG_PREP
USERNAME=`whoami`
USERNAME_FULL=`getent passwd $USERNAME | awk -F':' '{gsub(",", "",$5); print $5}'`
echo " -- $USERNAME_FULL <$USERNAME@`hostname`> `date +\"%a, %d %b %Y %T %z\"`" >> $CHANGELOG_PREP
echo "" >> $CHANGELOG_PREP
cat $CHANGELOG >> $CHANGELOG_PREP
mv $CHANGELOG_PREP $CHANGELOG
fi
dpkg-buildpackage -sa -rfakeroot
cd -
rm -rf $DEB_DIR
Jump to Line
Something went wrong with that request. Please try again.