extfs: fix whitespace soup in u7z helper
[midnight-commander.git] / autogen.sh
blobcbcd00ec73c63f530cd50b7be4e0ad2df1ceef0a
1 #!/bin/sh
3 set -e
5 srcdir="$(cd "$(dirname "$0")" && pwd)"
7 cd "$srcdir"
9 ${AUTORECONF:-autoreconf} --verbose --install --force -I m4 ${AUTORECONF_FLAGS}
11 # Customize the INSTALL file
12 rm -f INSTALL && ln -s doc/INSTALL
14 # Generate po/POTFILES.in
15 ${XGETTEXT:-xgettext} --keyword=_ --keyword=N_ --keyword=Q_ --output=- \
16 `find . -name '*.[ch]'` | sed -ne '/^#:/{s/#://;s/:[0-9]*/\
17 /g;s/ //g;p;}' | \
18 grep -v '^$' | sort | uniq >po/POTFILES.in
20 cd src/vfs/smbfs/helpers
21 date -u >include/stamp-h.in
23 $srcdir/maint/utils/version.sh "$srcdir"
25 if test -x $srcdir/configure.mc; then
26 $srcdir/configure.mc "$@"