*** empty log message ***

This commit is contained in:
hyung-hwan 2007-02-09 14:39:00 +00:00
parent 1094ada17a
commit 16f887fc8b

View File

@ -50,13 +50,13 @@ finalize ()
*.man) *.man)
html=`echo $i | sed 's/.man$/.html/'` html=`echo $i | sed 's/.man$/.html/'`
"$ASEAWK" -f "$BASE/rel/doc.awk" "$full" > "$SOURCE_ROOT/html/$html" "$ASEAWK" -f "$BASE/rel/doc.awk" "$full" > "$SOURCE_ROOT/html/$html"
"$ASEAWK" -f "$BASE/rel/doc.awk" "$full" > "$DEPLOY_ROOT/$html" "$ASEAWK" -f "$BASE/rel/doc.awk" "$full" > "$ASETGT/$html"
cp -f "$full" "$target/$file" cp -f "$full" "$target/$file"
;; ;;
*.css) *.css)
cp -f "$full" "$target/$file" cp -f "$full" "$target/$file"
cp -f "$full" "$SOURCE_ROOT/html/$i" cp -f "$full" "$SOURCE_ROOT/html/$i"
cp -f "$full" "$DEPLOY_ROOT/$i" cp -f "$full" "$ASETGT/$i"
;; ;;
*) *)
cp -f "$full" "$target/$file" cp -f "$full" "$target/$file"
@ -71,32 +71,33 @@ finalize ()
# BEGINNING OF THE PROGRAM # # BEGINNING OF THE PROGRAM #
############################ ############################
if [ $# -ne 2 ] if [ $# -ne 3 ]
then then
echo "Usage: $0 awk version" echo "Usage: $0 awk version target"
echo "where awk := full path to aseawk" echo "where awk := full path to aseawk"
echo " version := any string" echo " version := any string"
echo " target := full path to the target directory"
exit 1 exit 1
fi fi
ASEAWK="$1" ASEAWK="$1"
ASEVER="$2" ASEVER="$2"
ASETGT="$3"
CURDIR=`pwd` CURDIR=`pwd`
cd ".." cd ".."
BASE=`pwd` BASE=`pwd`
DEPLOY_ROOT="$BASE/web.out" SOURCE_ROOT="$ASETGT/ase-$ASEVER"
SOURCE_ROOT="$DEPLOY_ROOT/ase-$ASEVER"
rm -rf "$DEPLOY_ROOT" rm -rf "$ASETGT"
mkdir -p "$DEPLOY_ROOT" mkdir -p "$ASETGT"
mkdir -p "$SOURCE_ROOT" mkdir -p "$SOURCE_ROOT"
mkdir -p "$SOURCE_ROOT/html" mkdir -p "$SOURCE_ROOT/html"
finalize "" "" finalize "" ""
cd "$DEPLOY_ROOT" cd "$ASETGT"
tar -cvf "ase-$ASEVER.tar" "ase-$ASEVER" tar -cvf "ase-$ASEVER.tar" "ase-$ASEVER"
gzip "ase-$ASEVER.tar" gzip "ase-$ASEVER.tar"
rm -rf "ase-$ASEVER" rm -rf "ase-$ASEVER"