distdir=/tmp/${name}
-rm -f ${srcdir}/config.cache
-PYTHON=${PYTHON:-python} ${srcdir}/configure --prefix=${distdir} \
- --srcdir=${srcdir}
+#
+# Maybe we can get away without reconfiguring
+#
+# rm -f ${srcdir}/config.cache
+# PYTHON=${PYTHON:-python} ${srcdir}/configure --prefix=${distdir} \
+# --srcdir=${srcdir}
if ! make ; then
echo "make failed"
fi
# failure allowed
-make -C Documentation info
+#make -C Documentation info
if ! make install ; then
echo "make install failed"
exit 1
fi
-if ! make -C Documentation/man WWW ; then
- echo "make -C documentation/man WWW failed"
+#if ! make -C Documentation/man WWW ; then
+# echo "make -C documentation/man WWW failed"
+# exit 1
+#fi
+
+if ! make -C Documentation/ntweb WWW ; then
+ echo "make -C documentation/ntweb WWW failed"
exit 1
fi
#
# Rename python files to <filename>.py
#
-mv $distdir/bin/ly2dvi $distdir/bin/ly2dvi.py
+mv $distdir/bin/lilypond $distdir/bin/lilypond.py
mv $distdir/bin/convert-mudela $distdir/bin/convert-mudela.py
mv $distdir/bin/mudela-book $distdir/bin/mudela-book.py
#
# copy man documentation to doc directory
#
-mkdir $distdir/doc
-cp Documentation/man/out/*.html $distdir/doc
+#mkdir $distdir/doc
+#cp Documentation/man/out/*.html $distdir/doc
+
+#
+# copy web documentation to web directory
+#
+mkdir $distdir/web
+for i in index.html guile-1.3.4-gnu-windows.patch angels.ly
+do
+ cp Documentation/ntweb/out/$i $distdir/web || exit 1
+done
+
+#
+# Zip it up
+#
cd $distdir/..
$ZIP_CMD $ZIP_FILE $name
echo "Wrote $ZIP_FILE"