Browse Source

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 years ago
parent
commit
16c9682a3e
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      release

+ 4
- 4
release View File

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


PACKAGE="tufte-latex" PACKAGE="tufte-latex"


CLASS_FILES="tufte-handout.cls tufte-book.cls"
CLS_FILES="tufte-handout.cls tufte-book.cls"
DEF_FILES="tufte-common.def" DEF_FILES="tufte-common.def"
BST_FILES="tufte.bst" BST_FILES="tufte.bst"
SOURCE_FILES="sample-handout.pdf sample-handout.tex sample-handout.bib sample-book.pdf sample-book.tex" 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 # TODO: instead of all this checking, just sed values into the appropriate files


DATE_VERSION="$DATE $VERSION" 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 if ! grep -q $DATE_VERSION $file ; then
echo "Error: $file does not contain '$DATE_VERSION':" echo "Error: $file does not contain '$DATE_VERSION':"
egrep 'Provides(Class|File)' $file egrep 'Provides(Class|File)' $file
@@ -82,13 +82,13 @@ TDS_SRC_DIR=$TDS_DIR/source/latex/$PACKAGE/
echo "Creating zip bundle for CTAN release ..." echo "Creating zip bundle for CTAN release ..."
mkdir -p $TDS_DIR $TDS_TEX_DIR $TDS_DOC_DIR $TDS_SRC_DIR 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/ cp History.txt README.txt sample-handout.{pdf,tex,bib} sample-book.{pdf,tex} $TDS_DOC_DIR/
mkdir $TDS_DOC_DIR/graphics mkdir $TDS_DOC_DIR/graphics
cp graphics/* $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 * ) ( cd $TDS_DIR && zip -rq ../../$PACKAGE-$VERSION/$PACKAGE.tds.zip * )
rm -fr pkg/$PACKAGE rm -fr pkg/$PACKAGE


Loading…
Cancel
Save