28 |
done |
done |
29 |
rm -f examples/example.gdbinit |
rm -f examples/example.gdbinit |
30 |
ln -s $workbook/build/dist-files/.gdbinit examples/example.gdbinit |
ln -s $workbook/build/dist-files/.gdbinit examples/example.gdbinit |
31 |
|
|
32 |
|
# TODO: This should be moved to dist-guile |
33 |
|
mscripts=$workbook/../scripts |
34 |
|
rm -f BUGS |
35 |
|
$mscripts/render-bugs > BUGS |
36 |
|
|
37 |
###################################################################### |
###################################################################### |
38 |
|
|
39 |
|
# Make sure this matches the ACLOCAL invokation in Makefile.am |
40 |
|
|
41 |
./guile-aclocal.sh |
./guile-aclocal.sh |
42 |
|
|
43 |
libtoolize --copy --force --automake --ltdl |
###################################################################### |
44 |
|
### Libtool setup. |
45 |
|
|
46 |
|
# Get a clean version. |
47 |
|
rm -rf libltdl |
48 |
|
libtoolize --force --copy --automake --ltdl |
49 |
|
|
50 |
|
# Make sure we use a ./configure.in compatible autoconf in ./libltdl/ |
51 |
|
mv libltdl/configure.in libltdl/configure.tmp |
52 |
|
echo 'AC_PREREQ(2.50)' > libltdl/configure.in |
53 |
|
cat libltdl/configure.tmp >> libltdl/configure.in |
54 |
|
rm libltdl/configure.tmp |
55 |
|
###################################################################### |
56 |
|
|
57 |
autoheader |
autoheader |
58 |
autoconf |
autoconf |
59 |
|
|
60 |
|
# Automake has a bug that will let it only add one copy of a missing |
61 |
|
# file. We need two mdate-sh, tho, one in doc/ref/ and one in |
62 |
|
# doc/tutorial/. We run automake twice as a workaround. |
63 |
|
|
64 |
|
automake --add-missing |
65 |
automake --add-missing |
automake --add-missing |
66 |
|
|
67 |
# Make sure that libltdl uses the same autoconf version as the rest. |
# Make sure that libltdl uses the same autoconf version as the rest. |
68 |
# |
# |
69 |
( echo "libltdl..."; cd libltdl; autoconf ) |
echo "libltdl..." |
70 |
|
(cd libltdl && autoconf) |
71 |
|
(cd libltdl && automake --gnu --add-missing) |
72 |
|
|
73 |
( echo "guile-readline..."; cd guile-readline; ./autogen.sh ) |
echo "guile-readline..." |
74 |
|
(cd guile-readline && ./autogen.sh) |
75 |
|
|
76 |
echo "Now run configure and make." |
echo "Now run configure and make." |
77 |
echo "You must pass the \`--enable-maintainer-mode' option to configure." |
echo "You must pass the \`--enable-maintainer-mode' option to configure." |