File: make

package info (click to toggle)
firedns 0.9.12-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,192 kB
  • ctags: 322
  • sloc: ansic: 4,026; sh: 964; makefile: 6
file content (14 lines) | stat: -rw-r--r-- 264 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#phase init
dispn "Checking to see if make supports \"?=\"..."
rm -f Makefile
echo "PREFIX ?= /usr/local" > Makefile
echo "all:" >> Makefile
make >/dev/null 2>&1
if test "$?" = "0"; then
	disp "yes"
	MAKE_CONDSET="y"
else
	disp "no"
	MAKE_CONDSET="n"
fi