2016-04-27 23:14:25 +03:00
|
|
|
#!/bin/sh
|
1998-11-23 01:04:09 +03:00
|
|
|
|
2002-09-26 01:53:38 +04:00
|
|
|
set -e
|
|
|
|
|
2016-04-27 23:14:25 +03:00
|
|
|
srcdir="$(cd "$(dirname "$0")" && pwd)"
|
2002-09-26 01:53:38 +04:00
|
|
|
|
2003-12-03 01:53:07 +03:00
|
|
|
cd "$srcdir"
|
2001-04-06 22:01:31 +04:00
|
|
|
|
2016-04-27 23:14:25 +03:00
|
|
|
${AUTORECONF:-autoreconf} --verbose --install --force -I m4 ${AUTORECONF_FLAGS}
|
2001-09-12 23:18:38 +04:00
|
|
|
|
2016-04-27 23:14:25 +03:00
|
|
|
# Customize the INSTALL file
|
|
|
|
rm -f INSTALL && ln -s doc/INSTALL
|
2001-07-31 22:05:26 +04:00
|
|
|
|
2004-01-27 00:40:30 +03:00
|
|
|
# Generate po/POTFILES.in
|
2016-04-27 23:14:25 +03:00
|
|
|
${XGETTEXT:-xgettext} --keyword=_ --keyword=N_ --keyword=Q_ --output=- \
|
2005-07-27 23:39:58 +04:00
|
|
|
`find . -name '*.[ch]'` | sed -ne '/^#:/{s/#://;s/:[0-9]*/\
|
2004-08-02 16:37:22 +04:00
|
|
|
/g;s/ //g;p;}' | \
|
2011-05-25 17:59:27 +04:00
|
|
|
grep -v '^$' | sort | uniq >po/POTFILES.in
|
2004-01-27 00:40:30 +03:00
|
|
|
|
2011-02-15 16:44:17 +03:00
|
|
|
cd src/vfs/smbfs/helpers
|
2001-02-08 03:01:21 +03:00
|
|
|
date -u >include/stamp-h.in
|
2002-01-28 19:22:04 +03:00
|
|
|
|
2013-04-09 15:51:24 +04:00
|
|
|
$srcdir/maint/utils/version.sh "$srcdir"
|
2009-06-16 21:40:24 +04:00
|
|
|
|
2002-11-29 09:39:41 +03:00
|
|
|
if test -x $srcdir/configure.mc; then
|
|
|
|
$srcdir/configure.mc "$@"
|
|
|
|
fi
|