summaryrefslogtreecommitdiff
path: root/debian.buildscript
blob: 116dbbb95e2b017f34de7eed2b368bcf37158f99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
set -e -x
really ./debian.rules clean
./debian.rules diff source

./debian.rules build
really ./debian.rules binary

curd="`pwd`"
newd="`basename \"$curd\"`"elf
rm -rf ../"$newd"
cp -dpR . ../"$newd"

PATH=/usr/i486-linuxaout/bin:$PATH
export PATH

really ./debian.rules clean
./debian.rules build
really ./debian.rules binary
cp doc/guidelines.texi ..

version=`sed -n 's/^version=//p' debian.rules`
perl debian.mkchanges "$version" <debian.changestemplate \
 | pgp-auto -fast >../dpkg-$version.`dpkg --print-architecture`.changes
echo