File: cdemo-make.test

package info (click to toggle)
libtool 1.4.2-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,304 kB
  • ctags: 831
  • sloc: sh: 8,394; ansic: 3,706; makefile: 415
file content (25 lines) | stat: -rwxr-xr-x 537 bytes parent folder | download | duplicates (7)
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
# cdemo-make.test - try building in the ../cdemo subdirectory

# Test script header.
need_prefix=no
if test -z "$srcdir"; then
  srcdir=`echo "$0" | sed 's%/[^/]*$%%'`
  test "$srcdir" = "$0" && srcdir=.
  test "${VERBOSE+set}" != "set" && VERBOSE=yes
fi
. $srcdir/defs || exit 1

if test -f ../cdemo/Makefile; then :
else
  echo "You must run cdemo-conf.test before running $0" 1>&2
  exit 77
fi

# Change to our build directory.
cd ../cdemo || exit 1

# Do the actual build.
echo "Making in ../cdemo"
$make || exit 1
exit 0