File: autogen.sh

package info (click to toggle)
cufflinks 2.2.1+dfsg.1-4
  • links: PTS, VCS
  • area: non-free
  • in suites:
  • size: 4,268 kB
  • sloc: cpp: 57,165; ansic: 12,297; python: 517; makefile: 240; sh: 59
file content (21 lines) | stat: -rwxr-xr-x 382 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

submodule_init ( ) {
    local SUBMODULES=$(git submodule | awk '{print $2}')
    for submodule in $SUBMODULES; do
	echo "Initializing submodule $submodule"
	git submodule init $submodule
	git submodule update $submodule
	cd $submodule
	if test -f version.sh
	then
	    ./version.sh
	fi
	submodule_init
	cd ..
    done
}

./version.sh
submodule_init
autoreconf --install