File: bootstrap

package info (click to toggle)
uruk 20190121-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,188 kB
  • sloc: sh: 1,852; makefile: 151; xml: 51
file content (45 lines) | stat: -rwxr-xr-x 1,171 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
#!/bin/sh -e

# this file maintained at http://git.mdcc.cx/uruk.git

# 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
#  git2cl, from e.g. http://josefsson.org/git2cl/, and git

set -x

test -f ChangeLog || {
    # we want no unprotected emailadresses in the cl
    git log --pretty --numstat --summary | git2cl | \
      sed 's/<[jcw][^>][^>]*>//g' >ChangeLog
}

test -f VERSION.m4 || ./setversion

# Override automake 1.9 default: automake1.9 version 1.9.6+nogfdl-3
# creates symlink to /usr/share/automake-1.9/COPYING which is GPL v2.
# We want v3.
test -f COPYING || {
    ln -s /usr/share/common-licenses/GPL-3 COPYING
}

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

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