File: bootstrap

package info (click to toggle)
idjc 0.8.17-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 9,628 kB
  • sloc: python: 20,415; ansic: 15,941; sh: 4,869; makefile: 189; sed: 16
file content (30 lines) | stat: -rwxr-xr-x 435 bytes parent folder | download | duplicates (3)
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
26
27
28
29
30
#!/bin/sh

missing() {
	echo "$1, is missing - please install it and try again"
	exit 1
}

check() {
	for i in $* ; do
		which $i 1>/dev/null 2>/dev/null || missing $i
	done
}

check autoreconf libtool autopoint convert


echo "remaking missing files in build environment"

# Directory exists in git source only.
if [ -d docsrc ]; then
  cd docsrc
  make && make doc
  cd ..
fi

cd libshout-idjc
autoreconf -ifs
cd ..
autoreconf -ifs