blob: 0116169aef2770d4c753ebba4f51ebeae34d4101 [file] [log] [blame]
Mesar Hameedd128f982013-10-31 00:25:04 +00001#!/bin/sh
2#
Christian Egli9bd6be22013-10-31 10:38:55 +00003# Copyright 2008 Eitan Isaacson
4# Copyright 2008 Christian Egli
5# Copyright 2012 Michael Whapples
John Boyer53a9f7a2013-10-30 23:06:35 +00006#
Christian Egli9bd6be22013-10-31 10:38:55 +00007# This file is part of Liblouis.
John Boyer53a9f7a2013-10-30 23:06:35 +00008#
Christian Egli9bd6be22013-10-31 10:38:55 +00009# 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 3 of the
12# License, or (at your option) any later version.
John Boyer53a9f7a2013-10-30 23:06:35 +000013#
Christian Egli9bd6be22013-10-31 10:38:55 +000014# 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.
Mesar Hameedd128f982013-10-31 00:25:04 +000018#
Christian Egli9bd6be22013-10-31 10:38:55 +000019# 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