#!/bin/sh

# web_update - Update web pages to reflect daily changes.
#
# Run this in a crontab, something like this:
#
#     10 4 * * * /home/edwards/bin/web_update.sh | \
#       mailx -s "Ansys macro web page update notification" \
#       email@tldn...
#
# ##### Uncomment and PASTE into a start up scricpt like ~/.bash_profile:
#shopt -s cdspell cdable_vars
#
# Define all the CD-able Variables here
# $mac is for user navigation

BIN=/usr/local/bin/dee
APDL=/r/dee-web/htdocs/300M.us/public_html/sites/ansys
MAC=$APDL/mac
UTIL=$MAC/util
export BIN APDL UTIL MAC
##########################################################################

$UTIL/mac2html/mac2html.perl

$UTIL/index_tools.perl

$UTIL/index_macs.perl