File: bootstrap

package info (click to toggle)
indent 2.2.11-4
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,848 kB
  • ctags: 3,016
  • sloc: ansic: 25,774; sh: 4,844; makefile: 436; yacc: 316; sed: 16; cpp: 5
file content (56 lines) | stat: -rwxr-xr-x 1,014 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/bin/sh
# get the latest translations

echo
echo "#### get the latest translations"
rsync -Lrtvz  translationproject.org::tp/latest/indent/  po

echo
echo "#### making README"
touch README

echo
echo "#### Running autopoint"
#gettextize  --version
#gettextize --copy --force --intl --no-changelog
autopoint  --version
autopoint -f

echo
echo "#### getting libgettext.h"

cp /usr/share/gettext/gettext.h src/libgettext.h

echo
echo "#### running aclocal"
aclocal --version
aclocal -I m4 -I ./aclocal

if [ $? -ne 0 ]
then
    exit
fi

echo
echo "#### running autoheader"
autoheader --version
autoheader

echo
echo "#### running autoconf"
autoconf --version
autoconf

# get the latest config files.

cd config
wget -q "http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess"
wget -q "http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub"
cd ..

echo
echo "#### running automake"
automake --version
automake --add-missing
rm README
./configure --enable-maintainer-mode