File: unixmake

package info (click to toggle)
tf 1%3A4.0s1-21
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 1,904 kB
  • sloc: ansic: 15,663; sh: 44; makefile: 38
file content (24 lines) | stat: -rwxr-xr-x 632 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
#
# idiot detector
test X
 = X
if [ $? = 0 ]; then cat <<EOF

This file contains ^M characters at the end of each line.
If this is because you got the .zip version of the distribution,
you should go back and get the .tar.Z or .tar.gz version, or use
the unzip option that translates CR LF to LF.

EOF
    exit 1;
fi;


### Make sure PATH contains every plausible location of 'make'.
PATH="$PATH:/bin:/usr/bin:/usr/local/bin:/usr/ucb:/usr/local:/usr/lbin:/etc:/usr/new:/usr/new/bin:/usr/nbin:/usr/ccs/bin"
export PATH

MAKE=${MAKE-make}
export MAKE
${MAKE} -f unix/Makefile `egrep '^TFVER=' src/vars.mak` MAKE="${MAKE}" $*