#!/bin/sh

# make_it
# Copyright (C) 2003, 2004, 2005, 2006, 2007 Joseph Rosevear

# This file is part of an application of SAM for GNU/Linux Slackware
# known as SAM-GLS.

# SAM-GLS is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.

# SAM-GLS is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

# (Slackware is a registered trademark of Patrick Volkerding and
# Slackware Linux, Inc.)


# JHR 150330 I changed this.  It had elements of both a script and a
# function.  I took out the "#0K SAM", "make_it() {", "return", and
# "}".  Note that the "0K" above is spelled with a zero.  When this was
# in the code it was meant to prevent this fromn running.



#Do not use this script.  It is here only as an example.



export sh_flag=sh

bound $env_tool_base/grime5
pushd $env_web_site > /dev/null

rm -R $env_web_try
mkdir $env_web_try

grime5 back_alt.dat     > $env_web_try/back.lst
cp empty.skl              direct.skl
grime5 index.skl        > $env_web_try/index.htm
grime5 services.skl     > $env_web_try/services.htm

grime5 back_alt.dat     > $env_web_try/back.lst
cp direct2.skl            direct.skl
grime5 share.skl        > $env_web_try/share.htm
grime5 free.skl         > $env_web_try/free.htm
grime5 stuff.skl        > $env_web_try/stuff.htm
grime5 res4b.skl        > $env_web_try/res4b.htm
grime5 contact.skl      > $env_web_try/contact.htm
grime5 accomp2.skl      > $env_web_try/accomp2.htm
grime5 payments.skl     > $env_web_try/payments.htm
grime5 links.skl        > $env_web_try/links.htm
grime5 linktous.skl     > $env_web_try/linktous.htm
grime5 howunzip.skl     > $env_web_try/howunzip.htm
grime5 howzip.skl       > $env_web_try/howzip.htm
grime5 joseph.skl       > $env_web_try/joseph.htm
grime5 about.skl        > $env_web_try/about.htm
grime5 products.skl     > $env_web_try/products.htm
grime5 unzip.skl        > $env_web_try/unzip.htm
grime5 zip.skl          > $env_web_try/zip.htm
grime5 map.skl          > $env_web_try/map.htm
grime5 xamp_gra.skl     > $env_web_try/xamp_gra.htm
grime5 xamp_nog.skl     > $env_web_try/xamp_nog.htm
grime5 notify.skl images/howunzip/unzdoc.lst > $env_web_try/unzdoc.htm
grime5 notify.skl images/howzip/zipdoc.lst   > $env_web_try/zipdoc.htm
grime5 notify.skl images/howunzip/unzip.lst  > $env_web_try/unzpnote.htm
grime5 notify.skl images/howzip/zip.lst      > $env_web_try/zipnote.htm
grime5 notify.skl main/sam.lst               > $env_web_try/sam_app.htm
grime5 notify.skl spin/doodle.lst            > $env_web_try/doodle.htm
grime5 notify.skl spin/color.lst             > $env_web_try/color.htm
grime5 notify.skl spin/asc2.lst              > $env_web_try/asc2.htm
grime5 notify.skl spin/cha2.lst              > $env_web_try/cha2.htm
grime5 notify.skl spin/cbox.lst              > $env_web_try/cbox.htm
grime5 notify.skl spin/wrap.lst              > $env_web_try/wrap.htm
grime5 notify.skl spin/sampler.lst           > $env_web_try/sampler.htm
grime5 notify.skl spin/multi.lst             > $env_web_try/multi.htm
grime5 pnotify.skl spin/map/violinp.lst      > $env_web_try/pnotvln.htm
grime5 pnotify.skl spin/map/violap.lst       > $env_web_try/pnotvla.htm
grime5 pnotify.skl spin/map/cellop.lst       > $env_web_try/pnotclo.htm
grime5 pnotify.skl spin/map/bassp.lst        > $env_web_try/pnotbss.htm
grime5 pnotify.skl spin/map/backp.lst        > $env_web_try/pnotbck.htm
grime5 pnotify.skl spin/map/violinp2.lst     > $env_web_try/pnotvln2.htm
grime5 pnotify.skl spin/map/violap2.lst      > $env_web_try/pnotvla2.htm
grime5 pnotify.skl spin/map/cellop2.lst      > $env_web_try/pnotclo2.htm
grime5 pnotify.skl spin/map/bassp2.lst       > $env_web_try/pnotbss2.htm
grime5 pnotify.skl spin/map/backp2.lst       > $env_web_try/pnotbck2.htm
cp violinp.htm            $env_web_try
cp violap.htm             $env_web_try
cp cellop.htm             $env_web_try
cp bassp.htm              $env_web_try
cp backp.htm              $env_web_try
cp violinp2.htm           $env_web_try
cp violap2.htm            $env_web_try
cp cellop2.htm            $env_web_try
cp bassp2.htm             $env_web_try
cp backp2.htm             $env_web_try

popd > /dev/null

echo Copy images directory and load other images?
pause

cp -R $env_web_site/images $env_web_try
cp $env_sam_plce/sam_app*.tar.gz  $env_web_try/images/g_samapp
cp $sam_distro/GUIDE $env_web_try/images/g_samapp
cp $env_lttrs_03/data/cello/030730ar/p8256rcm.jpg $env_web_try/images

pause
