-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use one shell script to generate both the Unix and Windows packages;
Increase version to 1.1.
- Loading branch information
Showing
3 changed files
with
28 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
2017-04-17 Wu Yongwei <[email protected]> | ||
|
||
* misc/release.sh: Accommodate recent changes and generate both the | ||
Unix and Windows packages. | ||
(VER): Increase to 1.1. | ||
* misc/release.bat: Remove. | ||
|
||
2017-04-10 Wu Yongwei <[email protected]> | ||
|
||
* misc/doxit.sh: Eliminate an old workaround on new Doxygen | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,17 +3,31 @@ | |
|
||
# Shell script to create "nvwa-x.y.tar.gz" | ||
|
||
VER="1.0" | ||
VER="1.1" | ||
RELEASE="nvwa-$VER" | ||
RELEASE_DIR="$PWD/$RELEASE" | ||
rm -f $RELEASE.tar.gz $RELEASE.zip | ||
rm -rf $RELEASE | ||
mkdir $RELEASE | ||
cd $RELEASE | ||
|
||
export CVSROOT=:pserver:[email protected]:/cvsroot/nvwa | ||
cvs -z9 co doc nvwa | ||
cd .. | ||
cp -p ChangeLog LICENCE README $RELEASE_DIR | ||
|
||
cp -pr ../../doc/latex/refman.pdf ../../doc/html doc/ | ||
( cd doc/html; rm -f *.dot *.map *.md5 .* ) | ||
mkdir "$RELEASE_DIR/nvwa" | ||
( cd "nvwa"; cp -p *.cpp *.h "$RELEASE_DIR/nvwa" ) | ||
|
||
cd .. | ||
mkdir "$RELEASE_DIR/test" | ||
( cd "test"; cp -p Makefile *.cpp "$RELEASE_DIR/test" ) | ||
|
||
mkdir "$RELEASE_DIR/doc" | ||
cp -pr doc/html "$RELEASE_DIR/doc/html" | ||
( cd "$RELEASE_DIR/doc/html"; rm -f *.map *.md5 ) | ||
|
||
cd misc | ||
tar cvfz $RELEASE.tar.gz $RELEASE/ | ||
|
||
FILES=`find $RELEASE -type f` | ||
for FILE in $FILES; do | ||
unix2dos -k -s $FILE | ||
done | ||
zip -r $RELEASE.zip $RELEASE/ |