#!/bin/sh

rm -rfv build
./autogen.sh && \
./configure && \
make && \
dpkg-buildpackage -rfakeroot -tc

GEN_STATUS=$?

if test $GEN_STATUS -eq 0
then
	echo "Packages generated"
else
	echo "Error genetating packages"
fi

exit $GEN_STATUS

#!/bin/sh

rm -rfv build
./autogen.sh && \
./configure && \
make && \
dpkg-buildpackage -rfakeroot -tc $*

GEN_STATUS=$?

if test $GEN_STATUS -eq 0
then
	echo "Packages generated"
else
	echo "Error genetating packages"
fi

exit $GEN_STATUS

Allow to pass parameters to debian build packager
Allow to pass parameters to debian build packager
