summaryrefslogtreecommitdiff
path: root/bootstrap.sh
blob: 9d2f96def60019d5f30140ae519c8f69237bc4c0 (plain)
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
#! /bin/sh

set -eu

if [ -x "gnulib/gnulib-tool" ]; then
  gnulibtool=gnulib/gnulib-tool
else
  gnulibtool=gnulib-tool
fi
$gnulibtool --m4-base build-aux --source-base build-aux --import git-version-gen gitlog-to-changelog gnupload maintainer-makefile announce-gen gendocs

sed -i -e 's/^sc_file_system:/disabled_sc_file_system:/' \
       -e 's/^sc_GPL_version:/disabled_sc_GPL_version:/' \
       -e 's/^sc_m4_quote_check:/disabled_sc_m4_quote_check:/' \
       -e 's/^sc_prohibit_strcmp:/disabled_sc_prohibit_strcmp:/' \
       -e 's/^sc_space_tab:/disabled_sc_space_tab:/' \
       -e 's/^sc_useless_cpp_parens:/disabled_sc_useless_cpp_parens:/' \
       -e 's/^sc_prohibit_magic_number_exit:/disabled_sc_prohibit_magic_number_exit:/' \
  maint.mk

./git-authors-gen.pl >AUTHORS
build-aux/gitlog-to-changelog >ChangeLog -- master m4/

autoreconf --install -Wall

if [ ! -d html ]; then
  echo ""
  echo " Remember to check out the HTML tree before running configure."
  echo ""
fi