File: build-test

package info (click to toggle)
xpcd 2.08-11.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 652 kB
  • ctags: 556
  • sloc: ansic: 6,384; makefile: 227; sh: 204; perl: 12
file content (22 lines) | stat: -rwxr-xr-x 425 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

export DIR=build

function try () {
	mkdir $DIR/$1
	cd $DIR/$1
	../../configure --prefix=/usr $2
	make || return 1
	cd ../..
	return 0
}

mkdir -p $DIR
try default				|| exit
try no-mitshm	--without-mitshm	|| exit
try no-xaw3d	--without-xaw3d		|| exit
try no-jpeg	--without-jpeg		|| exit
try no-tiff	--without-tiff		|| exit
try no-gimp	--without-gimp		|| exit
try no-svga	--without-svga		|| exit
echo "*** OK ***"