2015-05-23 13:35:12 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2018-02-25 21:42:18 +01:00
|
|
|
if test "$1" = "update"
|
|
|
|
then
|
|
|
|
# Update generated configuration files
|
|
|
|
autoreconf -v --install --force
|
|
|
|
else
|
|
|
|
# Set up an m4 environment
|
|
|
|
aclocal
|
|
|
|
|
|
|
|
# Generate configure from configure.ac
|
|
|
|
autoconf
|
|
|
|
|
|
|
|
# reate a template header (config.h.in) for configure
|
|
|
|
autoheader
|
|
|
|
|
|
|
|
# generates a custom version of the generic libtool script
|
|
|
|
libtoolize --copy
|
|
|
|
|
|
|
|
# Generate Makefile.in from Makefile.am
|
|
|
|
automake --add-missing --copy
|
|
|
|
fi
|
2015-07-09 02:15:12 +02:00
|
|
|
|
2015-05-23 13:35:12 +02:00
|
|
|
echo
|
2017-09-20 16:56:20 +02:00
|
|
|
echo 'run "./configure --prefix=/usr && make"'
|
2015-05-23 13:35:12 +02:00
|
|
|
echo
|
|
|
|
|
|
|
|
# Generate Makefile from Makefile.in
|
|
|
|
#./configure
|
|
|
|
|
|
|
|
# Use Makefile to build and test a tarball to distribute
|
|
|
|
#make distcheck
|
|
|
|
#make distclean
|
|
|
|
|