added way to autogenerate read-only ASCII TODO file from Anjuta TODO.xml version

SVN revision: 41558
This commit is contained in:
Andreas Volz 2009-08-01 13:21:54 +00:00
parent c2f89e881a
commit f83c8380e9
1 changed files with 18 additions and 0 deletions

View File

@ -49,6 +49,13 @@ test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
DIE=1
}
(which xsltproc) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Hint**: You must have \`xsltproc' installed"
echo "to generate TODO file. But it's save to continue."
NO_XSLTPROC=yes
}
if test "$DIE" -eq 1; then
exit 1
fi
@ -69,5 +76,16 @@ automake --add-missing --foreign $am_opt
echo "Running autoconf ..."
autoconf
test -n "$NO_XSLTPROC" || {
echo "Running xsltproc..."
echo "\
###
### This TODO list is created from TODO.xml. Don't edit this file!
###
" > TODO
xsltproc gtodo-plain.xsl TODO.tasks >> TODO
}
echo "You could now exec ./configure --help to see available options"