1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/bin/sh -e
# tar.gz with project-ver/ in tree debmake -x0 followed by -x3 -B
LC_ALL=C.UTF-8
export LC_ALL
# non-native source tree with tar.gz on side
PROJECT=foo-3.6
rm -f ${PROJECT}*.tar.?z
rm -rf ${PROJECT}
mkdir ${PROJECT}
echo "DUMMY ${PROJECT}" > ${PROJECT}/dummy-${PROJECT}
tar -cvzf ${PROJECT}.tar.gz ${PROJECT}
cd ${PROJECT} || exit 1
debmake -x0
cd .. || exit 1
rm -f ${PROJECT}*.tar.?z
cd ${PROJECT} || exit 1
debmake -x3 -B
test -x debian/rules
cd .. || exit 1
|