forked from mia/Aegisub
Work around ancient versions of intltool...
Originally committed to SVN as r3004.
This commit is contained in:
parent
7eada86cde
commit
ccde9fd3d8
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
DIST_NAME="aegisub-snap-r${1}"
|
||||
UNAME_S=`uname -s`
|
||||
|
||||
if test -z "${1}"; then
|
||||
echo "You must supply a revision number!"
|
||||
|
@ -7,7 +8,7 @@ if test -z "${1}"; then
|
|||
fi
|
||||
|
||||
# On FreeBSD "make" is PMake, so we need to use 'gmake'
|
||||
if test `uname -s` = "FreeBSD"; then
|
||||
if test "${UNAME_S}" = "FreeBSD"; then
|
||||
BIN_MAKE="gmake"
|
||||
CONFIGURE_ARGS="--with-wx-config=/usr/local/bin/wxgtk2u-2.8-config"
|
||||
else
|
||||
|
@ -16,6 +17,9 @@ fi
|
|||
|
||||
./autogen.sh ${CONFIGURE_ARGS} || exit $?
|
||||
|
||||
# XXX: Work around ancient versions of intltool (cough DEBIAN)
|
||||
touch intltool-update.in intltool-merge.in intltool-extract.in
|
||||
|
||||
${BIN_MAKE} distdir distdir="${DIST_NAME}" || exit $?
|
||||
|
||||
# Put the name of the buildslave into ./slave_info as it may be useful for
|
||||
|
|
Loading…
Reference in a new issue