File: bootstrap

package info (click to toggle)
uruk 20051129-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 484 kB
  • ctags: 6
  • sloc: sh: 1,049; makefile: 114
file content (51 lines) | stat: -rwxr-xr-x 1,236 bytes parent folder | download
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
#!/bin/sh -e

# this file maintained using arch at http://arch.gna.org/uruk/

# bootstrap - script to bootstrap the distribution rolling engine

# usage:
# ./bootstrap && ./configure && make distcheck
#
# this yields a tarball which one can install doing
#
# $ tar zxf PACKAGENAME-*.tar.gz
# $ cd PACKAGENAME-*
# $ ./configure
# $ make
# # make install

# requirements:
#  GNU autoconf, from e.g. ftp.gnu.org:/pub/gnu/autoconf/autoconf-2.50.tar.gz
#  GNU automake, from e.g. ftp.cygnus.com:/pub/tromey
#  GNU arch, from e.g. http://regexps.srparish.net/www/

set -x

test -f ChangeLog || {
    tla changelog > ChangeLog
}

test -f VERSION.m4 || ./setversion

test -f acinclude.m4 || {
    if test -f /usr/share/autoconf-archive/ac_define_dir.m4
    then
        ln -s /usr/share/autoconf-archive/ac_define_dir.m4 acinclude.m4
    else
        cat <<EOT
You need the autoconf-archive Debian package, version >= 20031029-1.
Alternatively, you could install the GNU Autoconf Macro Archive's
http://autoconf-archive.cryp.to/ac_define_dir.m4 as acinclude.m4.
EOT
   fi
}

AUTOMAKE=automake-1.9 ACLOCAL=aclocal-1.9 autoreconf --install \
      --symlink --make

# aclocal \
#    && automake --add-missing --verbose --gnu \
#    && autoconf