blob: e0eadec10cb355aa677c634a77a8f81b9d6dafca [file] [log] [blame]
Mesar Hameedd128f982013-10-31 00:25:04 +00001#!/bin/sh
2#
Christian Eglif6ec6a52016-06-20 10:33:37 +02003# Copyright 2008 Eitan Isaacson
4# Copyright 2008 Christian Egli
5# Copyright 2012 Michael Whapples
John Boyer53a9f7a2013-10-30 23:06:35 +00006#
Christian Eglif6ec6a52016-06-20 10:33:37 +02007# This file is part of liblouis.
8#
9# liblouis is free software: you can redistribute it and/or modify it
10# under the terms of the GNU Lesser General Public License as
11# published by the Free Software Foundation, either version 2.1 of the
12# License, or (at your option) any later version.
13#
14# liblouis is distributed in the hope that it will be useful, but
15# WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17# Lesser General Public License for more details.
18#
19# You should have received a copy of the GNU Lesser General Public
20# License along with liblouis. If not, see
21# <http://www.gnu.org/licenses/>.
John Boyer53a9f7a2013-10-30 23:06:35 +000022#
Eitan Isaacson80be8fd2008-01-16 01:14:49 +000023# autogen.sh glue for liblouis
24#
25# Requires: automake 1.9, autoconf 2.57+
26# Conflicts: autoconf 2.13
27set -e
28
29# Refresh GNU autotools toolchain.
30echo Cleaning autotools files...
31find -type d -name autom4te.cache -print0 | xargs -0 rm -rf \;
32find -type f \( -name missing -o -name install-sh -o -name mkinstalldirs \
33 -o -name depcomp -o -name ltmain.sh -o -name configure \
34 -o -name config.sub -o -name config.guess -o -name config.h.in \
Christian Eglia7b0db92008-12-22 15:29:38 +000035 -o -name mdate-sh -o -name texinfo.tex \
Eitan Isaacson80be8fd2008-01-16 01:14:49 +000036 -o -name Makefile.in -o -name aclocal.m4 \) -print0 | xargs -0 rm -f
37
38echo Running autoreconf...
39autoreconf --force --install
40
41exit 0