mirror of https://github.com/odrling/Aegisub
* Add a kludge to handle config.h for now until it's sorted properly (what a
pain). * Fix generation of bitmaps/Makefile.am. Originally committed to SVN as r1868.
This commit is contained in:
parent
14b319414f
commit
c92232db0c
|
@ -38,6 +38,9 @@ test $TEST_TYPE $FILE || {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# XXX: This is a kludge until I sort out the config/includes situation.
|
||||||
|
touch ${srcdir}/aegisub/posix/config.h
|
||||||
|
|
||||||
# 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
|
||||||
|
@ -46,7 +49,7 @@ 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_xpm.xpm", image[v])}' \
|
||||||
${srcdir}/aegisub/res.rc \
|
${srcdir}/aegisub/res.rc \
|
||||||
> ${srcdir}/aegisub/bitmaps/Makefile.am
|
> ${srcdir}/aegisub/bitmaps/Makefile.am
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue