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
|
#!/bin/sh
|
||||||
DIST_NAME="aegisub-snap-r${1}"
|
DIST_NAME="aegisub-snap-r${1}"
|
||||||
|
UNAME_S=`uname -s`
|
||||||
|
|
||||||
if test -z "${1}"; then
|
if test -z "${1}"; then
|
||||||
echo "You must supply a revision number!"
|
echo "You must supply a revision number!"
|
||||||
|
@ -7,7 +8,7 @@ if test -z "${1}"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# On FreeBSD "make" is PMake, so we need to use 'gmake'
|
# 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"
|
BIN_MAKE="gmake"
|
||||||
CONFIGURE_ARGS="--with-wx-config=/usr/local/bin/wxgtk2u-2.8-config"
|
CONFIGURE_ARGS="--with-wx-config=/usr/local/bin/wxgtk2u-2.8-config"
|
||||||
else
|
else
|
||||||
|
@ -16,6 +17,9 @@ fi
|
||||||
|
|
||||||
./autogen.sh ${CONFIGURE_ARGS} || exit $?
|
./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 $?
|
${BIN_MAKE} distdir distdir="${DIST_NAME}" || exit $?
|
||||||
|
|
||||||
# Put the name of the buildslave into ./slave_info as it may be useful for
|
# Put the name of the buildslave into ./slave_info as it may be useful for
|
||||||
|
|
Loading…
Reference in a new issue