Commit c7aeb938 by Masaru Abe

build対応修正

parent 17f437b9
......@@ -7,11 +7,13 @@ TARGET2=""
if [ $# -eq 1 ]; then
TARGET0=$1
else
TARGET0="abvw"
fi
# abvw/js/*
#TARGET1='bookmark.js contentsearch.js contentview.js contentview_Gomu.js contentview_Maker.js contentview_Marking.js contentview_Memo.js contentview_Paint.js contentview_Pen.js contentview_PopupText.js detail.js header.js history.js home.js login.js settings.js'
if [ "$TARGET0" = "" ]; then
if [ "$TARGET0" = "abvw" ]; then
TARGET1='Limit_Access_Content.js bookmark.js contentsearch.js contentview.js contentview_3d.js contentview_Anket.js contentview_CallApi.js contentview_ContentTypeNone.js contentview_CreateObjects.js contentview_Events.js contentview_General.js contentview_GetData.js contentview_Gomu.js contentview_ImagePreview.js contentview_InitObjects.js contentview_Maker.js contentview_Marking.js contentview_Memo.js contentview_Paint.js contentview_Pen.js contentview_PopupText.js detail.js header.js history.js home.js login.js settings.js'
else
TARGET1='contentview.js contentview_3d.js contentview_Anket.js contentview_CallApi.js contentview_ContentTypeNone.js contentview_CreateObjects.js contentview_Events.js contentview_General.js contentview_GetData.js contentview_ImagePreview.js contentview_InitObjects.js contentview_PopupText.js contentview_initDefautValue.js'
......@@ -19,7 +21,7 @@ fi
# abvw/common/js
#TARGET2='avweb.js common.js i18n.js screenLock.js slideshow.js textObject.js zoomDetector.js'
if [ "$TARGET0" = "" ]; then
if [ "$TARGET0" = "abvw" ]; then
TARGET2='avweb.js common.js i18n.js screenLock.js script.js tab.js textObject.js zoomDetector.js'
else
TARGET2='avweb.js common.js i18n.js script.js textObject.js zoomDetector.js'
......@@ -29,14 +31,14 @@ OBFUSCATE_EXECUTABLE="$DIR/packer/jsPacker.pl -e10"
for f in $TARGET1
do
ORG=$DIR/abvw/js/$f
ORG=$DIR/$TARGET0/js/$f
TARGET=$DIR/ob/abvw/js/$f
$OBFUSCATE_EXECUTABLE -i $ORG -o $TARGET
done
for f in $TARGET2
do
ORG=$DIR/abvw/common/js/$f
ORG=$DIR/$TARGET0/common/js/$f
TARGET=$DIR/ob/abvw/common/js/$f
$OBFUSCATE_EXECUTABLE -i $ORG -o $TARGET
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment