#!/bin/sh ## $poplocal/local/sim/install_sim ## Aaron Sloman (The University of Birmingham) ## 12 Nov 1994 ## Assuming this directory, or a link to it, is in $poplocal/local/sim ## run this script to make LIB SIM_AGENT readily accessible. echo "making links in $poplocal/local/teach" cd $poplocal/local/teach ln -s ../sim/teach/sim_agent . echo "making links in $poplocal/local/help" cd $poplocal/local/help ln -s ../sim/help/sim_agent . ln -s ../sim/help/sim_agent_news . echo "making links in $poplocal/local/lib" cd $poplocal/local/lib ln -s ../sim/lib/sim_agent.p . ln -s ../sim/simlib.p . echo "making index files" cd $poplocal/local/sim/auto echo "nil -> proglist; ;;; prevent compilation" > simautoindex.p echo "INDEX OF AUTOLOADABLE FILES" >> simautoindex.p ls -C | expand >> simautoindex.p cd $poplocal/local/sim/help ls -C | expand > simhelpindex cd $poplocal/local/sim/lib echo "nil -> proglist; ;;; prevent compilation" > simlibindex.p echo "INDEX OF NON-AUTOLOADABLE LIBRARY FILES" >> simlibindex.p ls -C | expand >> simlibindex.p cd $poplocal/local/sim/ref ls -C | expand > simrefindex cd $poplocal/local/sim/teach ls -C | expand > simteachindex echo "done"