aboutsummaryrefslogtreecommitdiff
path: root/lib/cpluff/autogen.sh
blob: ee0a41810847adbe3ddc5dab78de984aaf80198f (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
#! /bin/sh

# Copyright 2007 Johannes Lehtinen
# This shell script is free software; Johannes Lehtinen gives
# unlimited permission to copy, distribute and modify it.

set -e

# Check directory
basedir="`dirname "$0"`"
if ! test -f "$basedir"/libcpluff/cpluff.h; then
    echo 'Run autogen.sh in the top level source directory.' 1>&2
    exit 1
fi

# Generate files in top level directory
cd "$basedir"
autopoint
rm -f ABOUT-NLS
test -d auxliary || mkdir auxliary
libtoolize --automake -f
aclocal -I m4
autoconf
autoheader
automake -a