瀏覽代碼

To make file variables consistent with each other, rename CLASS_FILES CLS_FILES.

git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@158 516e2f36-ce3a-0410-bea4-1d4a03f5df72
master
Bil Kleb 15 年之前
父節點
當前提交
16c9682a3e
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. +4
    -4
      release

+ 4
- 4
release 查看文件

@@ -8,7 +8,7 @@ set +o xtrace # show commands

PACKAGE="tufte-latex"

CLASS_FILES="tufte-handout.cls tufte-book.cls"
CLS_FILES="tufte-handout.cls tufte-book.cls"
DEF_FILES="tufte-common.def"
BST_FILES="tufte.bst"
SOURCE_FILES="sample-handout.pdf sample-handout.tex sample-handout.bib sample-book.pdf sample-book.tex"
@@ -26,7 +26,7 @@ fi
# TODO: instead of all this checking, just sed values into the appropriate files

DATE_VERSION="$DATE $VERSION"
for file in $CLASS_FILES $DEF_FILES ; do
for file in $CLS_FILES $DEF_FILES ; do
if ! grep -q $DATE_VERSION $file ; then
echo "Error: $file does not contain '$DATE_VERSION':"
egrep 'Provides(Class|File)' $file
@@ -82,13 +82,13 @@ TDS_SRC_DIR=$TDS_DIR/source/latex/$PACKAGE/
echo "Creating zip bundle for CTAN release ..."
mkdir -p $TDS_DIR $TDS_TEX_DIR $TDS_DOC_DIR $TDS_SRC_DIR

cp $CLASS_FILES $DEF_FILES $BST_FILES $TDS_TEX_DIR/
cp $CLS_FILES $DEF_FILES $BST_FILES $TDS_TEX_DIR/

cp History.txt README.txt sample-handout.{pdf,tex,bib} sample-book.{pdf,tex} $TDS_DOC_DIR/
mkdir $TDS_DOC_DIR/graphics
cp graphics/* $TDS_DOC_DIR/graphics/

cp $CLASS_FILES $DEF_FILES $BST_FILES $SOURCE_FILES $TDS_SRC_DIR/
cp $CLS_FILES $DEF_FILES $BST_FILES $SOURCE_FILES $TDS_SRC_DIR/

( cd $TDS_DIR && zip -rq ../../$PACKAGE-$VERSION/$PACKAGE.tds.zip * )
rm -fr pkg/$PACKAGE


Loading…
取消
儲存