~ubuntu-branches/ubuntu/precise/code-saturne/precise

« back to all changes in this revision

Viewing changes to sbin/bootstrap

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2011-11-24 00:00:08 UTC
  • mfrom: (6.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20111124000008-2vo99e38267942q5
Tags: 2.1.0-3
Install a missing file

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
  exit 1
6
6
fi
7
7
 
8
 
# To add gettext support, use :
9
 
# gettextize -f -c --no-changelog --intl
10
 
# rm -f config/gettext.m4
11
 
 
12
 
# To use an external gettext version, do not use --intl
13
 
# To use a link instead of copy, do not use -c
14
 
 
15
 
if [ ! -f config/gettext.m4 ]; then
16
 
  echo "running gettextize"
17
 
  \rm -rf configure.ac~ Makefile.am~
18
 
  sed -e "s/read dummy/# read dummy/" `which gettextize` > ./tmp_gettextize
19
 
  chmod +x ./tmp_gettextize
20
 
  ./tmp_gettextize -f -c --no-changelog
21
 
  if [ -f configure.ac~ ]; then
22
 
    mv configure.ac~ configure.ac
23
 
  fi
24
 
  if [ -f Makefile.am~ ]; then
25
 
    mv Makefile.am~ Makefile.am
26
 
  fi
27
 
  rm -rf po/*~ tmp_gettextize
28
 
fi
29
 
 
30
 
echo "running aclocal"
31
 
aclocal -I config
32
 
 
33
 
echo "running autoconf"
34
 
autoconf
35
 
 
36
 
if [ ! -f config/ltmain.sh ]; then
37
 
  echo "running libtoolize"
38
 
  libtoolize --force --copy
39
 
fi
40
 
 
41
 
echo "running autoheader"
42
 
autoheader
43
 
 
44
 
echo "running automake"
45
 
automake -a -c
46
 
 
47
 
echo "removing autom4te.cache"
 
8
# Simply run autoreconf
 
9
autoreconf -vi $@
 
10
 
 
11
# Remove cache directory
48
12
\rm -rf autom4te.cache
49