File: build_debian.sh

package info (click to toggle)
sdparm 1.10-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,716 kB
  • sloc: ansic: 20,059; sh: 5,329; makefile: 168
file content (12 lines) | stat: -rwxr-xr-x 383 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

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.