File: maketar

package info (click to toggle)
xsnow 1:3.1.1-1
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 2,524 kB
  • sloc: ansic: 9,248; xml: 5,034; sh: 1,659; cpp: 118; pascal: 105; makefile: 70
file content (14 lines) | stat: -rwxr-xr-x 627 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
curdir=`pwd`                                                || exit 1
version=`./getversion`                                      || exit 1
echo "version = $version"
./configure                                                 || exit 1
make -j4 distcheck                                          || exit 1
#if [ -x /usr/games/xsnow ] ; then
#   rm -rf ./autopkgtest-dir
#   autopkgtest --output-dir ./autopkgtest-dir -B  . -- null || exit 1
#fi
mkdir -p ../versions                                        || exit 1
mv xsnow*.tar.gz ../versions                                || exit 1
make distclean
echo "$0 done"