~ubuntu-branches/ubuntu/trusty/uruk/trusty-proposed

« back to all changes in this revision

Viewing changes to bootstrap

  • Committer: Bazaar Package Importer
  • Author(s): Joost van Baal
  • Date: 2005-10-30 18:44:05 UTC
  • Revision ID: james.westby@ubuntu.com-20051030184405-18qmgrz4vzlw589a
Tags: upstream-20051027
ImportĀ upstreamĀ versionĀ 20051027

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
# this file maintained using arch at http://arch.gna.org/uruk/
 
4
 
 
5
# bootstrap - script to bootstrap the distribution rolling engine
 
6
 
 
7
# usage:
 
8
# ./bootstrap && ./configure && make distcheck
 
9
#
 
10
# this yields a tarball which one can install doing
 
11
#
 
12
# $ tar zxf PACKAGENAME-*.tar.gz
 
13
# $ cd PACKAGENAME-*
 
14
# $ ./configure
 
15
# $ make
 
16
# # make install
 
17
 
 
18
# requirements:
 
19
#  GNU autoconf, from e.g. ftp.gnu.org:/pub/gnu/autoconf/autoconf-2.50.tar.gz
 
20
#  GNU automake, from e.g. ftp.cygnus.com:/pub/tromey
 
21
#  GNU arch, from e.g. http://regexps.srparish.net/www/
 
22
 
 
23
set -x
 
24
 
 
25
test -f ChangeLog || {
 
26
    tla changelog > ChangeLog
 
27
}
 
28
 
 
29
test -f VERSION.m4 || ./setversion
 
30
 
 
31
test -f acinclude.m4 || {
 
32
    if test -f /usr/share/autoconf-archive/ac_define_dir.m4
 
33
    then
 
34
        ln -s /usr/share/autoconf-archive/ac_define_dir.m4 acinclude.m4
 
35
    else
 
36
        cat <<EOT
 
37
You need the autoconf-archive Debian package, version >= 20031029-1.
 
38
Alternatively, you could install the GNU Autoconf Macro Archive's
 
39
http://autoconf-archive.cryp.to/ac_define_dir.m4 as acinclude.m4.
 
40
EOT
 
41
   fi
 
42
}
 
43
 
 
44
AUTOMAKE=automake-1.9 ACLOCAL=aclocal-1.9 autoreconf --install \
 
45
      --symlink --make
 
46
 
 
47
# aclocal \
 
48
#    && automake --add-missing --verbose --gnu \
 
49
#    && autoconf
 
50
 
 
51