Forked from
Xfce / thunar
11393 commits behind the upstream repository.
-
Benedikt Meurer authored
* autogen.sh: Better determine the file dynamically, which is used to query the sandbox revision. (Old svn revision: 16325)
Benedikt Meurer authored* autogen.sh: Better determine the file dynamically, which is used to query the sandbox revision. (Old svn revision: 16325)
autogen.sh 805 B
#!/bin/sh
#
# $Id: autogen.sh,v 1.7 2005/01/26 22:07:26 benny Exp $
#
# Copyright (c) 2002-2005
# The Thunar development team. All rights reserved.
#
# Written for Thunar by Benedikt Meurer <benny@xfce.org>.
#
(type xdt-autogen) >/dev/null 2>&1 || {
cat >&2 <<EOF
autogen.sh: You don't seem to have the Xfce development tools installed on
your system, which are required to build this software.
Please install the xfce4-dev-tools package first, it is available
from http://www.xfce.org/.
EOF
exit 1
}
# substitute revision and date
revision=`svn info $0 | awk '/^Revision: / {printf "%04d\n", $2}'`
sed -e "s/@DATE@/`date +%Y%m%d`/g" -e "s/@REVISION@/${revision}/g" \
< "configure.in.in" > "configure.in"
exec xdt-autogen $@
# vi:set ts=2 sw=2 et ai: