default-jre-headless default-jdk-headless \
libncurses5 libedit-dev \
libsaxon-java libsaxonb-java libservlet3.1-java fop\
- # tex-live
+ groff # tex-live
+
+# Make sure to use the flex included with tasyagle
+apt-get remove flex
mkdir -p /home/$SUDO_USER/src
cd /home/$SUDO_USER/src
chgrp -R $SUDO_USER /home/$SUDO_USER/.bashrc
fi
-
-# Compile the documentation
+# Compile the documentation and example
echo "Entering bash as $SUDO_USER to reload .bashrc and compile docs!"
runuser $SUDO_USER -c "/bin/bash << EOF
. ~/.bashrc
-echo $PATH
cd /home/$SUDO_USER/src/tas-yagle/distrib/docxml2
make
+cd /home/$SUDO_USER/src/tas-yagle/distrib/share/tutorials/hitas/inv
+./db.tcl
EOF"
echo "Finished tas-yagle compilation, make sure to source .bashrc!"