#!/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.16 ACLOCAL=aclocal-1.16 autoreconf --install \ --symlink --make # aclocal \ # && automake --add-missing --verbose --gnu \ # && autoconf