Fix some of the pre-auto* build glue, also set svn:executable.

Originally committed to SVN as r1866.
This commit is contained in:
Amar Takhar 2008-03-03 07:29:29 +00:00
parent b1c441ff73
commit 52d7d1e02f
1 changed files with 3 additions and 3 deletions

6
autogen.sh Normal file → Executable file
View File

@ -29,7 +29,7 @@ srcdir=`pwd`
test -z "$srcdir" && srcdir=. test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd` ORIGDIR=`pwd`
cd $srcdir cd $srcdir
AWK_BIN ?= awk AWK_BIN=awk
test $TEST_TYPE $FILE || { test $TEST_TYPE $FILE || {
echo echo
@ -40,13 +40,13 @@ test $TEST_TYPE $FILE || {
# bmp -> xmp via the res.rc # bmp -> xmp via the res.rc
if [ ! -f ${srcdir}/aegisub/bitmaps/Makefile.bitmaps ]; then if [ ! -f ${srcdir}/aegisub/bitmaps/Makefile.bitmaps ]; then
cat ${srcdir}/aegisub/res.rc | $AWK_BIN -f ${srcdir}/aegisub/bitmaps/genxpm.awk ${srcdir}/aegisub/bitmaps/Makefile.bitmaps cat ${srcdir}/aegisub/res.rc | ${AWK_BIN} -f ${srcdir}/aegisub/bitmaps/genxpm.awk > ${srcdir}/aegisub/bitmaps/Makefile.bitmaps
fi fi
cd ${srcdir}/aegisub/bitmaps cd ${srcdir}/aegisub/bitmaps
make -f Makefile.bitmaps make -f Makefile.bitmaps
cd ${srcdir} cd ${srcdir}
awk '/BITMAP/ { image[count] = $1; ++count} END { printf("EXTRA_DIST="); for (v in image) printf(" \\\n %s", image[v])' \ awk '/BITMAP/ { image[count] = $1; ++count} END { printf("EXTRA_DIST="); for (v in image) printf(" \\\n %s", image[v])}' \
${srcdir}/aegisub/res.rc \ ${srcdir}/aegisub/res.rc \
> ${srcdir}/aegisub/bitmaps/Makefile.am > ${srcdir}/aegisub/bitmaps/Makefile.am