Skip to content

Commit

Permalink
Seperate pdbs out into their own file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lymia committed Oct 31, 2017
1 parent 4c0b6c3 commit b047d2a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@ releasepath=thtk-bin-$1
echo Generating $releasepath
rm -rf $releasepath
mkdir $releasepath
rm -rf $releasepath-pdbs
mkdir $releasepath-pdbs

for i in thanm thecl thdat thmsg; do
echo $i
groff -mdoc -Tutf8 $i/$i.1 | perl -pe 's/\e\[?.*?[\@-~]//g' | unix2dos > $releasepath/README.$i.txt
cp build/$i/RelWithDebInfo/$i.{exe,pdb} $releasepath/
cp build/$i/RelWithDebInfo/$i.exe $releasepath/
cp build/$i/RelWithDebInfo/$i.exe $releasepath-pdbs/
done
cp build/thtk/RelWithDebInfo/thtk.{dll,pdb} $releasepath/
cp build/thtk/RelWithDebInfo/thtk.dll $releasepath/
cp build/thtk/RelWithDebInfo/thtk.pdb $releasepath-pdbs/
cp "$(cygpath "$VSSDK140Install")/../VC/redist/x86/Microsoft.VC140.OPENMP/vcomp140.dll" $releasepath/

copy_doc() {
Expand All @@ -27,3 +31,4 @@ copy_doc() {
copy_doc COPYING.{bison,flex,libpng,zlib} COPYING README NEWS

zip -r -9 $releasepath.zip $releasepath
zip -r -9 $releasepath-pdbs.zip $releasepath-pdbs

0 comments on commit b047d2a

Please sign in to comment.