chiark / gitweb /
Build system: Move template-based debian build into debian-template
[wiringPi.git] / build
diff --git a/build b/build
index 00a366b91570466b72d467f51c4d4fd5892d5610..524c14a609244bd57ec91637e5339517581f3a13 100755 (executable)
--- a/build
+++ b/build
@@ -77,15 +77,15 @@ fi
 
 if [ x$1 = "xdebian" ]; then
   here=`pwd`
-  cd debian/wiringPi
+  cd debian-template/wiringPi
   rm -rf usr
   cd $here/wiringPi
   make install-deb
   cd $here/devLib
   make install-deb INCLUDE='-I. -I../wiringPi'
   cd $here/gpio
-  make install-deb INCLUDE='-I../wiringPi -I../devLib' LDFLAGS=-L../debian/wiringPi/usr/lib
-  cd $here/debian
+  make install-deb INCLUDE='-I../wiringPi -I../devLib' LDFLAGS=-L../debian-template/wiringPi/usr/lib
+  cd $here/debian-template
   fakeroot dpkg-deb --build wiringPi
   mv wiringPi.deb  wiringpi-`cat $here/VERSION`-1.deb
   exit