File indexing completed on 2025-01-05 04:46:58

0001 if test -z "`which xsltproc`"; then
0002         echo "No xlstproc found!"
0003         exit 1;
0004 fi
0005 
0006 case $1 in
0007 create)
0008         xsltproc --stringparam code header entities.xsl akonadidb.xml > entities.h
0009         xsltproc --stringparam code source entities.xsl akonadidb.xml > entities.cpp
0010         xsltproc entities-dox.xsl akonadidb.xml > Database.dox
0011 ;;
0012 cleanup)
0013         rm -f entities.h entities.cpp
0014         rm -f Database.dox
0015 ;;
0016 esac
0017