File: build_debian.sh

package info (click to toggle)
sg3-utils 1.44-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 7,056 kB
  • sloc: ansic: 93,218; sh: 7,607; cpp: 2,947; makefile: 447
file content (15 lines) | stat: -rwxr-xr-x 483 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# If this script fails on a Debian 4.0 ("etch") system then read
# the debian/README.debian4 file.

echo "chmod +x debian/rules"
chmod +x debian/rules

# in some environments the '-rfakeroot' can cause a failure (e.g. when
# building as root). If so, remove that argument from the following:
echo "dpkg-buildpackage -b -rfakeroot -us -uc"
dpkg-buildpackage -b -rfakeroot -us -uc

# If the above succeeds then the ".deb" binary package is placed in the
# parent directory.