|
Packit |
a8f112 |
#!/bin/sh
|
|
Packit |
a8f112 |
|
|
Packit |
a8f112 |
echo "chmod +x debian/rules"
|
|
Packit |
a8f112 |
chmod +x debian/rules
|
|
Packit |
a8f112 |
|
|
Packit |
a8f112 |
# in some environments the '-rfakeroot' can cause a failure (e.g. when
|
|
Packit |
a8f112 |
# building as root). If so, remove that argument from the following:
|
|
Packit |
a8f112 |
echo "dpkg-buildpackage -b -rfakeroot"
|
|
Packit |
a8f112 |
dpkg-buildpackage -b -rfakeroot
|
|
Packit |
a8f112 |
|
|
Packit |
a8f112 |
# If the above succeeds then the ".deb" binary package is placed in the
|
|
Packit |
a8f112 |
# parent directory.
|