Debian Codegraph @

bundle-files/steps/05-build

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2 #
3 # builds package
4 #
5
6 echoscip-shell system . . echo. "== STAGE 04 (building package) =="
7
8 set -eux
9
10 source /root/source/buildinfoscip-shell source . . `/root/source/buildinfo`.
11
12 echoscip-shell system . . echo. "Build flags: ${flags}"
13
14 cd /root/source/buildscip-shell filesystem . . `/root/source/build`.
15
16 # TODO: also store stderr?
17 dpkg-buildpackagescip-shell system . . dpkg-buildpackage. ${flags} | teescip-shell system . . tee. /root/source/build.logscip-shell filesystem . . `/root/source/build.log`.
18
19 cd /root/sourcescip-shell filesystem . . `/root/source`.
20 name=$(basenamescip-shell system . . basename. --suffix .dsc *.dsc)
21 mvscip-shell system . . mv. build.log ${name}.build
22
23 echoscip-shell system . . echo. "+++ lintian output +++"
24 lintian --pedantic --display-info *.changes
25 echoscip-shell system . . echo. "+++ end of lintian output +++"
26
27 echoscip-shell system . . echo. "== ENDSTAGE =="