exit
fi
+if [ x$1 = "xdebian" ]; then
+ if ! dpkg-checkbuilddeps; then
+ $sudo apt-get install build-essential debhelper fakeroot
+ dpkg-checkbuilddeps
+ fi
+ dpkg-buildpackage -b -us -uc -rfakeroot
+ exit
+fi
+
# Only if you know what you're doing!
-if [ x$1 = "xdebian" ]; then
+if [ x$1 = "xdebian-template" ]; then
+ # produces a single .deb in a nonstandard way from debian-template/
here=`pwd`
cd debian-template/wiringPi
rm -rf usr